-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
topic-arraysrelated to flexible array supportrelated to flexible array support
Description
In the pint integration tests I tried to also test calling numpy functions on xarray objects (we provide methods for all of them).
Some of these functions, like numpy.median, numpy.searchsorted and numpy.clip, depend on __array_function__ (i.e. not __array_ufunc__) to dispatch. However, neither Dataset nor DataArray (nor Variable, I think?) define these protocols (see #3643).
Should we define __array_function__ on xarray objects?
jthielen, amcnicho, dcherian and danra
Metadata
Metadata
Assignees
Labels
topic-arraysrelated to flexible array supportrelated to flexible array support