From 2c8e23c83a1bd0c4f90b3aa1df8f4a9580a60db6 Mon Sep 17 00:00:00 2001 From: Keewis Date: Sat, 21 Sep 2019 01:58:31 +0200 Subject: [PATCH] fix the doc names of the return value of swap_dims --- xarray/core/dataarray.py | 2 +- xarray/core/dataset.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index 13a3a507c7b..e4379bd50fb 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -1453,7 +1453,7 @@ def swap_dims(self, dims_dict: Mapping[Hashable, Hashable]) -> "DataArray": Returns ------- - renamed : Dataset + swapped : Dataset DataArray with swapped dimensions. See Also diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index 270ab81d264..e01d83dd0a3 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -2676,7 +2676,7 @@ def swap_dims( Returns ------- - renamed : Dataset + swapped : Dataset Dataset with swapped dimensions. See Also