We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b86a7c1 commit b760807Copy full SHA for b760807
xarray/core/dataset.py
@@ -5116,9 +5116,9 @@ def map(
5116
to transform each DataArray `x` in this dataset into another
5117
DataArray.
5118
keep_attrs : bool, optional
5119
- If True, the dataset's attributes (`attrs`) will be copied from
5120
- the original object to the new one. If False, the new object will
5121
- be returned without attributes.
+ If True, both the dataset's and variables' attributes (`attrs`) will be
+ copied from the original objects to the new ones. If False, the new dataset
+ and variables will be returned without copying the attributes.
5122
args : tuple, optional
5123
Positional arguments passed on to `func`.
5124
**kwargs : Any
0 commit comments