Repository navigation
Conversation
ajpotts
marked this pull request as ready for review
January 15, 2026 12:48
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5313 +/- ##
========================================
Coverage ? 100.00%
========================================
Files ? 4
Lines ? 63
Branches ? 0
========================================
Hits ? 63
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
drculhane
approved these changes
Jan 15, 2026
drculhane
left a comment
Contributor
There was a problem hiding this comment.
Looks very straightforward.
ajpotts
force-pushed
the
5312_ExtensionArray.isna_return_type_to_match_pandas
branch
from
January 15, 2026 14:52
51a59dc to
e94c3f8
Compare
ajpotts
enabled auto-merge
January 15, 2026 14:53
ajpotts
force-pushed
the
5312_ExtensionArray.isna_return_type_to_match_pandas
branch
from
January 15, 2026 17:08
c5d39fb to
7a644f3
Compare
ajpotts
force-pushed
the
5312_ExtensionArray.isna_return_type_to_match_pandas
branch
from
January 15, 2026 17:12
7a644f3 to
6971080
Compare
1RyanK
approved these changes
Jan 15, 2026
jaketrookman
approved these changes
Jan 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix
isnareturn type to match pandas ExtensionArray contractSummary
This PR fixes a mypy override error in
ArkoudaArray.isnaby aligning its return type with thepandas.core.arrays.base.ExtensionArrayAPI. The method now always returns a NumPy boolean ndarrayinstead of sometimes returning an Arkouda-backed array.
Motivation
ExtensionArray.isna()is required by pandas to return a NumPyboolndarray. Returning anExtensionArrayviolates the base-class contract and causes mypy to emit an override error.Changes
isnasignature to returnNDArray[np.bool_].isnanresult to a NumPy boolean array before returning.Impact
isna.Testing
isna()returns a NumPy boolean array with correct values.Closes #5312: ExtensionArray.isna return type to match pandas