Skip to content

Closes 4749, removes redundant cumsum, aligns cumsum, cumprod, cumulative_sum, cumulative_prod to numpy - #4755

Merged
ajpotts merged 2 commits into
Bears-R-Us:mainfrom
drculhane:Closes-4749
Aug 18, 2025
Merged

ajpotts merged 2 commits into
Bears-R-Us:mainfrom
drculhane:Closes-4749

Conversation

@drculhane

Copy link
Copy Markdown
Contributor

Closes #4749.

The cumsum and cumprod functions have been removed from EfuncMsg.chpl. Their functionality is now handled by cumSum and cumProd in StatsMsg.chpl. Python-side, cumsum, cumprod, cumulative_sum and cumulative_prod have all been aligned to numpy. Docstrings have been added to, and unit tests have been revamped.

@drculhane
drculhane requested review from 1RyanK, ajpotts and jaketrookman and removed request for ajpotts and jaketrookman July 30, 2025 18:50
Comment thread src/StatsMsg.chpl Resolved

@ajpotts ajpotts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Thank you.

Comment thread arkouda/numpy/numeric.py Resolved
Comment thread arkouda/numpy/numeric.py Resolved
Comment thread arkouda/numpy/numeric.py Resolved
Comment thread tests/array_api/stats_functions.py Resolved
Comment thread tests/numpy/numeric_test.py Resolved
Comment thread tests/numpy/numeric_test.py Resolved
@drculhane
drculhane force-pushed the Closes-4749 branch 2 times, most recently from 33ccdfd to 3e989b2 Compare August 12, 2025 14:40

@1RyanK 1RyanK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Comment thread src/StatsMsg.chpl Resolved

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ajpotts
ajpotts added this pull request to the merge queue Aug 18, 2025
Merged via the queue into Bears-R-Us:main with commit 1c20dc7 Aug 18, 2025
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.

cumsum/cumSum

4 participants