You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One design decision to consider is whether axis/axes should be passed on to the wrapped functions (which might require numpy 1.15), or if we should simply do the axis reordering/insertion on the dask side.
I would lean towards the later since it isn't much more difficult, and imposes fewer requirements on the wrapped function. It's similar to what we currently do in xarray.apply_ufunc().
As of NumPy 1.15, NumPy's generalized ufuncs now support axis/axes/keepdims arguments:
https://docs.scipy.org/doc/numpy/release.html#generalized-ufuncs-now-accept-axes-axis-and-keepdims-arguments
It would be nice to support these in
dask.array.apply_gufunc()
, too. This would be useful for implementing functions likemedian
(#3819).The text was updated successfully, but these errors were encountered: