-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
TYP: Type MaskedArray.{argmin, argmax}
and np.ma.{argmin, argmax}
#28638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last nitpick: The np.ma.MaskedArray
methods should have the exact same signature as the functions in np.ma
. For the most part, that is currently the case. But there's a tiny difference: self
isn't positional-only.
true, i was just thinking that you might want to discourage people writing |
I think you went with the most correct option here. Unfortunately |
Thanks Marco |
…x}`` (numpy#28638) * TYP: Type ``MaskedArray.argmin`` and ``MaskedArray.argmax`` * type `axis: SupportsIndex | None`, add test which would have failed * 🎨 * fixup * 🎨 * align sigs
No description provided.