Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Support for Column Headers #351

Open
Belval opened this issue Apr 11, 2024 Discussed in #350 · 0 comments
Open

Python Support for Column Headers #351

Belval opened this issue Apr 11, 2024 Discussed in #350 · 0 comments

Comments

@Belval
Copy link
Contributor

Belval commented Apr 11, 2024

Discussed in #350

Originally posted by samwhealon April 11, 2024
I have been playing around with this library and the original textract-response-parser. I found that TRP doesn't support returning table_titles. So I looked at textractor, which supports titles but not column_headers.

Are there plans to add column headers to be created with the table object?

Column headers have a setter and return property under the table entity, however the column_headers setter doesn't seem to be accessed in the response parser.

Where I think this would exist in the parser:

Functions for table exist here:

def column_headers(self) -> Dict[str, List[TableCell]]:

Screenshot of my debugger. Column_headers register as true in the table_cells, but not populating in the column_headers field

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant