TYP: ``ndarray.cum{prod,sum}`` shape-typing and improved dtypes by jorenham · Pull Request #31164 · numpy/numpy · GitHub
Skip to content

TYP: ndarray.cum{prod,sum} shape-typing and improved dtypes - #31164

Merged
charris merged 2 commits into
numpy:mainfrom
jorenham:typing/ndarray.cumprod-cumsum
Apr 7, 2026
Merged

charris merged 2 commits into
numpy:mainfrom
jorenham:typing/ndarray.cumprod-cumsum

Conversation

@jorenham

@jorenham jorenham commented Apr 6, 2026

Copy link
Copy Markdown
Member

In #31120 I forgot to also shape-type-ify the corresponding cumsum and cumprod methods of ndarray (and ma.MaskedArray).

AI Disclosure

N/A

@jorenham jorenham added this to the 2.5.0 Release milestone Apr 6, 2026
@charris
charris merged commit 8c55907 into numpy:main Apr 7, 2026
15 checks passed
@charris

charris commented Apr 7, 2026

Copy link
Copy Markdown
Member

@jorenham
jorenham deleted the typing/ndarray.cumprod-cumsum branch April 7, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants