Skip to content

Commit

Permalink
warn about the removal of the ufuncs (#4268)
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis authored Jul 31, 2020
1 parent a198218 commit 9058114
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ Universal functions
With recent versions of numpy, dask and xarray, NumPy ufuncs are now
supported directly on all xarray and dask objects. This obviates the need
for the ``xarray.ufuncs`` module, which should not be used for new code
unless compatibility with versions of NumPy prior to v1.13 is required.
unless compatibility with versions of NumPy prior to v1.13 is
required. They will be removed once support for NumPy prior to
v1.17 is dropped.

These functions are copied from NumPy, but extended to work on NumPy arrays,
dask arrays and all xarray objects. You can find them in the ``xarray.ufuncs``
Expand Down

0 comments on commit 9058114

Please sign in to comment.