-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: re-establish
tax
gather reading flexibility (#2986)
A while back, I introduced `GatherRow` to handle checking for required gather columns for us. However, it ended up being overly restrictive -- any extra columns cause `gather_csv` reading to fail. Here, I add a filtration step that lets us ignore unspecified columns entirely before reading a GatherRow. Initializing the GatherRow after this filtration continues to handle the checks for all required columns while restoring flexibility. As a consequence, we can actually delete all the `non-essential` names in `GatherRow` and avoid carrying them around (saving some memory) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
427712c
commit e5cdc36
Showing
2 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters