From 7b3fb241ad5420cc9bc143d3c1cd9ca3649e728c Mon Sep 17 00:00:00 2001 From: dcherian Date: Thu, 28 Oct 2021 06:43:09 -0600 Subject: [PATCH] [skip-ci] minor updates --- doc/conf.py | 4 ++-- xarray/core/computation.py | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 51eb4e2ae1b..93174c6aaec 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -151,8 +151,8 @@ "DataArray": "~xarray.DataArray", "Dataset": "~xarray.Dataset", "Variable": "~xarray.Variable", - "DatasetGroupBy": "~xarray.core.weighted.DatasetGroupBy", - "DataArrayGroupBy": "~xarray.core.weighted.DataArrayGroupBy", + "DatasetGroupBy": "~xarray.core.groupby.DatasetGroupBy", + "DataArrayGroupBy": "~xarray.core.groupby.DataArrayGroupBy", # objects without namespace: numpy "ndarray": "~numpy.ndarray", "MaskedArray": "~numpy.ma.MaskedArray", diff --git a/xarray/core/computation.py b/xarray/core/computation.py index 48015bf7541..0c21ca07744 100644 --- a/xarray/core/computation.py +++ b/xarray/core/computation.py @@ -1036,8 +1036,7 @@ def apply_ufunc( Most of NumPy's builtin functions already broadcast their inputs appropriately for use in ``apply_ufunc``. You may find helper functions such as :py:func:`numpy.broadcast_arrays` helpful in writing your function. ``apply_ufunc`` also - works well with :py:func:`numba.vectorize` and :py:func:`numba.guvectorize`. Further explanation with - examples are provided in the xarray documentation [3]_. + works well with :py:func:`numba.vectorize` and :py:func:`numba.guvectorize`. See Also -------- @@ -1047,12 +1046,12 @@ def apply_ufunc( dask.array.apply_gufunc xarray.map_blocks :ref:`dask.automatic-parallelization` + User guide describing :py:func:`apply_ufunc` and :py:func:`map_blocks`. References ---------- .. [1] http://docs.scipy.org/doc/numpy/reference/ufuncs.html .. [2] http://docs.scipy.org/doc/numpy/reference/c-api.generalized-ufuncs.html - .. [3] http://xarray.pydata.org/en/stable/computation.html#wrapping-custom-computation """ from .dataarray import DataArray from .groupby import GroupBy