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
.normalize() doesn't work with .where() #691
Comments
I also get Example: where testinput.csv: My reason for thinking that its not a user issue is that the problem can be worked around by temporarily writing the table to file and reading again, hence "fixing" the indexing:
|
I think the issue is that normalize adds new rows, but it doesn't fill in row names for the new rows, so you end up getting an index error. |
@gutte Thank you for sharing the easy-to-replicate code! |
I have a case where I can't filter a table after it has been run through
.normalize()
, getting an errorIndexError: tuple index out of range
.It is a repeatable problem, but it is not always a problem. I've proven that I can also filter a simple normalized table. So, while this could be user error, I don't think so, but I would be happy to be proven wrong.
I have a repo that reproduces the problem in a notebook. But I also have an example where I can filter a normalized table.
The text was updated successfully, but these errors were encountered: