Skip to content

BUG: Raise ValueError on integer indexers containing NA; skip test for unsupported EAs #61465

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

Open
wants to merge 93 commits into
base: main
Choose a base branch
from

Conversation

pelagiavlas
Copy link

@pelagiavlas pelagiavlas commented May 20, 2025

What this PR changes:

  • Adds a check to _setitem_with_indexer to raise a ValueError when NA is present in the indexer.

  • Updates test_setitem_integer_with_missing_raises to skip test cases for known ExtensionArray types (PeriodArray, DatetimeArray, IntervalArray) that do not support indexing with NA in integer indexers.

pelagiavlas and others added 30 commits March 26, 2025 22:58
@pelagiavlas
Copy link
Author

Greetings! I’m following up on this PR.
If there’s any input or revisions required, please feel free to let me know.
Thank you!

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.

TST: test_setitem_integer_with_missing_raises contains duplicate parametrization
2 participants