-
Notifications
You must be signed in to change notification settings - Fork 474
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
The __array_function__ protocol for overriding NumPy's API #790
Comments
Thanks for writing. I have been looking forward to see something like this implemented in numpy and we have indeed played with the array function protocol. See #753 (and cc: @andrewgsavage ) I was wondering if you can clarify something that is not clear to me. Will this solve the |
It is arguably worse than this -- many NumPy functions (e.g.,
|
We have been drafting a new protocol to allow for overriding NumPy functions, e.g., for
np.concatenate
: http://www.numpy.org/neps/nep-0018-array-function-protocol.htmlIt would be great to experiment with getting this working in pint, since arrays with units are one of the intended use-cases.
The text was updated successfully, but these errors were encountered: