From 91e516a7b8154ecc156669591301ee34f760cf8e Mon Sep 17 00:00:00 2001 From: Keewis Date: Sat, 25 Jul 2020 12:32:53 +0200 Subject: [PATCH] warn about the removal of the ufuncs --- 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``