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

Add keep_empty_rows kwarg #220

Merged
merged 4 commits into from
Mar 13, 2023

Conversation

rben01
Copy link
Contributor

@rben01 rben01 commented Dec 6, 2022

Fixes #219 by adding a keep_empty_rows to all excel table-reading functions that determines whether empty rows should be kept or dropped when iterating over sheet rows (after determining the range of rows to iterate over).

  • Implemented
  • Updated docs
  • Added tests
  • Used myself and it seems to work fine

rben01 and others added 4 commits December 5, 2022 23:32
…, and the same field to TableRowIterator

Changed Base.iterate(::TableRowIterator, ::TableRowIteratorState) to check if `itr.keep_empty_rows` before looking for next nonempty rows
Fixed bug in forgetting to check keep_empty_rows
@felipenoris felipenoris merged commit e52bae9 into felipenoris:master Mar 13, 2023
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

Successfully merging this pull request may close these issues.

Option to not drop rows containing only missing data
2 participants