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

Check if indices values in Dataset.select are within bounds #3719

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

mariosasko
Copy link
Collaborator

Fix #3707

Instead of reusing _check_valid_index_key from datasets.formatting, I defined a new function to provide a more meaningful error message.

@mariosasko mariosasko changed the title Check if iterable values in Dataset.select are within bounds Check if indices values in Dataset.select are within bounds Feb 14, 2022
Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thanks !

@mariosasko mariosasko merged commit 99816c6 into master Feb 14, 2022
@mariosasko mariosasko deleted the fix-3707 branch February 14, 2022 19:19
albertvillanova pushed a commit that referenced this pull request Mar 7, 2022
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.

.select: unexpected behavior with indices
2 participants