Repository navigation
Closes #5308: Improve ArkoudaExtensionArray._reduce - #5309
Merged
ajpotts merged 2 commits intoJan 22, 2026
Merged
Conversation
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 12, 2026 23:29
ccea726 to
6bb3eff
Compare
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
2 times, most recently
from
January 13, 2026 14:40
a899478 to
955716b
Compare
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 13, 2026 18:32
955716b to
38e739c
Compare
ajpotts
marked this pull request as ready for review
January 13, 2026 19:29
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5309 +/- ##
========================================
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:
|
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 16, 2026 15:20
38e739c to
e630a71
Compare
ajpotts
marked this pull request as draft
January 16, 2026 15:22
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 16, 2026 16:19
e630a71 to
fa3c74c
Compare
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 16, 2026 16:20
fa3c74c to
91564d8
Compare
ajpotts
marked this pull request as ready for review
January 16, 2026 16:20
1RyanK
approved these changes
Jan 16, 2026
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 16, 2026 21:29
9c51836 to
4d84262
Compare
ajpotts
force-pushed
the
5308_Improve_ArkoudaExtensionArray._reduce
branch
from
January 16, 2026 21:33
4d84262 to
f74f6c6
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jan 21, 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.
Summary
This PR modernizes the
ArkoudaArray._reduceimplementation to better align withpandas ExtensionArray semantics, and significantly expands unit test coverage for reduction behavior.
Key goals of this change:
_reducestring-driven, matching pandas’ calling conventionsChanges
ArkoudaArray._reduce
sum,prod,min,max,mean,var,stdargmin,argmax,firstany,all,or,and(with dtype enforcement)ValueErrorTypeErrorGroupByReductionType
NUNUNIQUE→NUNIQUETests
TestArkoudaArrayReducesuitecount,argmin,argmax, andfirstskipnaargument"mean"to be unsupportedRationale
_reduceis part of the pandas ExtensionArray protocol and is invoked directlyby pandas using string operation names.
The expanded test coverage ensures correctness, documents intended semantics,
and provides a stable foundation for adding future reductions (e.g.,
median,unique,nunique) as backend support evolves.Notes for Reviewers
Closes #5308: Improve ArkoudaExtensionArray._reduce