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

Empty table corners #8

Open
Antonio-Velasco opened this issue May 18, 2024 · 1 comment
Open

Empty table corners #8

Antonio-Velasco opened this issue May 18, 2024 · 1 comment

Comments

@Antonio-Velasco
Copy link

Hi @ChrisPappalardo, I've kept using eparse, really useful :)

I've come across many instances where the tables I want to parse have an empty upper left corner to accommodate indexes and headers.
To identify these empty cells as the starting corner of the tables allows for full headers and indexes to be parsed.
I propose adding a na_depth value to the function df_find_tables that allows the user to configure how far up and right should the parser check and, if any of those cells are not empty, consider the current cell as ghost_corner rather than just empty.
With na_depth = 1 the behaviour remains the same.

PR: #7

@ChrisPappalardo
Copy link
Owner

Hi @Antonio-Velasco ! Thanks for the PR. I am at PyCon US this week and should have some time to look at this during the sprints.

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

2 participants