From bd52e29a95297409dd970fe50573980c714c7c94 Mon Sep 17 00:00:00 2001 From: "Gregorio L. Trevisan" Date: Mon, 18 Sep 2023 12:34:36 -0400 Subject: [PATCH] Fix sortby link in reshaping.rst Link to sortby() for both DataArrays and Datasets. --- doc/user-guide/reshaping.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide/reshaping.rst b/doc/user-guide/reshaping.rst index 2281106e7ec..d0b72322218 100644 --- a/doc/user-guide/reshaping.rst +++ b/doc/user-guide/reshaping.rst @@ -274,7 +274,7 @@ Sort ---- One may sort a DataArray/Dataset via :py:meth:`~xarray.DataArray.sortby` and -:py:meth:`~xarray.DataArray.sortby`. The input can be an individual or list of +:py:meth:`~xarray.Dataset.sortby`. The input can be an individual or list of 1D ``DataArray`` objects: .. ipython:: python