From 9058114f70d07ef04654d1d60718442d0555b84b Mon Sep 17 00:00:00 2001 From: keewis Date: Fri, 31 Jul 2020 23:30:42 +0200 Subject: [PATCH] warn about the removal of the ufuncs (#4268) --- doc/api.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api.rst b/doc/api.rst index 72a6dd4d97a..5e8a2be0ed4 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -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``