Python function to read an excel document and to return a dict of value, indent,…
- User
Python function to read an excel document and to return a dict of value, indent, merged_cell_value, and split any characters presented in superscript, subscript or otherwise into separate objects in the list with their values and their formats. Even better, set it as a continuation of the openpyxl classes as something like Workbook.Worksheet.Cell.CellParts or something like that so I can know the display value, text color, format, indentation, highlighting, and sub part of every cell (if not the defaults). This is to be able to identify footnote indicators, table body, headers and stubs with hierarchy, table titles and anything else necessary to deconstruct a wide variety of excel tables.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.