From c360e588904c617960e5d826fbdf3195bbeeabd4 Mon Sep 17 00:00:00 2001 From: Brewster Malevich Date: Wed, 11 May 2022 13:26:36 -0700 Subject: [PATCH] Minor Dataset.map docstr clarification The summary line in the docstr for `Dataset.map()` says that it operates on variables in the dataset. This is a very minor update clarifying that it operates on *data* variables, as opposed to all variables (data + coord) in the Dataset. --- 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 8b2f4783e34..77016ebf2ca 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -5302,7 +5302,7 @@ def map( args: Iterable[Any] = (), **kwargs: Any, ) -> Dataset: - """Apply a function to each variable in this dataset + """Apply a function to each data variable in this dataset Parameters ----------