Skip to content

TYP: percentile and quantile shape-typing - #32560

Merged
charris merged 2 commits into
numpy:mainfrom
jorenham:typing/percentile/shape-typing
Sep 10, 2026
Merged

charris merged 2 commits into
numpy:mainfrom
jorenham:typing/percentile/shape-typing

Conversation

@jorenham

@jorenham jorenham commented Sep 9, 2026

Copy link
Copy Markdown
Member

This one is pretty similar to numpy.median from #32556, except that there's a second q parameter that's participating in the broadcasting dance. And because percentile and quantile are isomorphic in overload signature, I figured I'd go with a two-for-one here.


Pair programmed with AI.

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 9, 2026
@jorenham
jorenham force-pushed the typing/percentile/shape-typing branch from b22395c to c6d8b96 Compare September 9, 2026 19:35
@charris

charris commented Sep 10, 2026

Copy link
Copy Markdown
Member

Needs rebase.

@jorenham
jorenham force-pushed the typing/percentile/shape-typing branch from c6d8b96 to ad90d15 Compare September 10, 2026 09:53
@charris
charris merged commit 2e0cdef into numpy:main Sep 10, 2026
15 checks passed
@charris

charris commented Sep 10, 2026

Copy link
Copy Markdown
Member

Thanks Joren.

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