From 47cbca968eda7b173394004d3fe378f0cb35ede1 Mon Sep 17 00:00:00 2001 From: Daniel Mesejo Date: Sun, 17 Jan 2021 13:51:34 +0100 Subject: [PATCH] fix doctest --- xarray/core/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index 3061d6e8cc9..689e412826f 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -4091,7 +4091,7 @@ def drop_isel(self, indexers=None, **indexers_kwargs): Dimensions without coordinates: x Data variables: A (x, y) float64 0.4002 1.868 - >>> ds.drop_sel(y=1) + >>> ds.drop_isel(y=1) Dimensions: (x: 2, y: 2) Coordinates: