Skip to content

Commit 5bbbf31

Browse files
authored
Fix sortby link in reshaping.rst (#8202)
Link to sortby() for both DataArrays and Datasets.
1 parent b08a9d8 commit 5bbbf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/user-guide/reshaping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Sort
274274
----
275275

276276
One may sort a DataArray/Dataset via :py:meth:`~xarray.DataArray.sortby` and
277-
:py:meth:`~xarray.DataArray.sortby`. The input can be an individual or list of
277+
:py:meth:`~xarray.Dataset.sortby`. The input can be an individual or list of
278278
1D ``DataArray`` objects:
279279

280280
.. ipython:: python

0 commit comments

Comments
 (0)