-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bug in Row implementation with regex matching #111
Comments
The Lines 41 to 51 in 29e46af
This logic ensures the indices are always valid. Applying a row filter doesn't trigger these code paths. Have you been able to reproduce the panic? Sharing a traceback could help identify any underlying cause. |
The issue happens when there are rows with different numbers of columns. When filtering on a column that is present for all rows, there are no issues. When filtering on a column that is either out of bounds of some rows, or not present in any, the following error is received:
The change made in #112 resolves this issue and allows filtering on all columns. If the column is not present in any row, it functions as normal and continues to show all columns |
Performing a row filter with a regex that does not exist in CSV file will panic and crash
the for loop in
subset
will try to unwrap a None value and crashThe text was updated successfully, but these errors were encountered: