Repository navigation
Closes #5096: unit tests for inherited functions in arkouda extension array - #5102
Merged
ajpotts merged 2 commits intoFeb 10, 2026
Conversation
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
from
December 3, 2025 00:02
ad25375 to
8e6e666
Compare
ajpotts
marked this pull request as ready for review
December 3, 2025 14:00
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
2 times, most recently
from
December 18, 2025 20:07
1520945 to
ff72e6b
Compare
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
from
December 29, 2025 18:46
982b02e to
a5db5b0
Compare
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
2 times, most recently
from
January 6, 2026 21:08
67a7ece to
e2280c7
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5102 +/- ##
========================================
Coverage ? 100.00%
========================================
Files ? 5
Lines ? 109
Branches ? 0
========================================
Hits ? 109
Misses ? 0
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
6 times, most recently
from
January 23, 2026 16:20
5dc52fc to
82786a5
Compare
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
from
January 26, 2026 17:36
82786a5 to
0b0c8f0
Compare
drculhane
reviewed
Jan 27, 2026
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Feb 4, 2026
…ion array (#5342) Part 2 of #5096: unit tests for inherited functions in arkouda extension array Part of this PR: #5102 Co-authored-by: ajpotts <[email protected]>
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
2 times, most recently
from
February 10, 2026 10:20
c2bfab2 to
918d408
Compare
… extension array
ajpotts
force-pushed
the
5096_unit_tests_for_inherited_functions_in_arkouda_extension_array
branch
from
February 10, 2026 11:01
918d408 to
7e72bdc
Compare
…rkouda_extension_array
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.
PR: Comprehensive Pandas ExtensionArray Inheritance Tests + Categorical Stubs
Summary
This PR introduces a comprehensive test suite verifying that Arkouda’s
ArkoudaArray,ArkoudaStringArray, andArkoudaCategoricalArraycorrectly inherit behavior frompandas.api.extensions.ExtensionArray.Tests ensure:
1. Arkouda Does Not Override pandas EA Methods
For each method, the suite asserts:
Verified inherited methods include:
_fill_mask_inplace,_formatter,_from_scalars,_get_repr_footer,_hash_pandas_object,_putmask,_rank,_repr_2d,_values_for_argsort,delete,dropna,insert,isin,map,ravel,repeat,searchsorted,shift,tolist,transpose,unique, and more.2. Behavior-Level Parity With pandas
Tests check:
3. Known Unsupported Behavior Is Explicitly Tested
Some pandas behaviors require dtype conversions Arkouda does not support yet.
Locked-in expected behaviors:
ArkoudaCategoricalArray.map→ xfailArkoudaCategoricalArray.shift→ raisesNotImplementedError_repr_2don numeric EAs → raisesTypeError4. Added
NotImplementedErrorStubs for Categorical InternalsStubs added for pandas Categorical-internal helper APIs:
_set_categories,_replace,_reverse_indexer,_values_for_rank,add_categories,rename_categories,remove_unused_categories, etc.5. Test Coverage Improvements
Covers:
Motivation
Previously:
This PR establishes a correctness baseline.
Examples
Test Commands
Closes #5096: unit tests for inherited functions in arkouda extension array