Skip to content

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!

@pelagiavlas pelagiavlas changed the title BUG: Raise ValueError on integer indexers containing NA; skip test for unsupported EAs BUG: Raise ValueError on integer indexers containing NA; skip test for unsupported EAs(#56727) May 28, 2025
@simonjayhawkins simonjayhawkins added Bug Testing pandas testing functions or related to the test suite ExtensionArray Extending pandas with custom dtypes or arrays. labels Jun 25, 2025
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Jul 26, 2025
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug ExtensionArray Extending pandas with custom dtypes or arrays. Stale Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TST: test_setitem_integer_with_missing_raises contains duplicate parametrization

4 participants