Skip to content

Commit

Permalink
[skip-ci] minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Oct 28, 2021
1 parent 72dcea6 commit 7b3fb24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions xarray/core/computation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand All @@ -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
Expand Down

0 comments on commit 7b3fb24

Please sign in to comment.