Skip to content

Commit

Permalink
Minor Dataset.map docstr clarification (#6595)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
brews authored May 11, 2022
1 parent 0512da1 commit 6bb2b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -5308,7 +5308,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
----------
Expand Down

0 comments on commit 6bb2b85

Please sign in to comment.