Skip to content

Commit 1d81a49

Browse files
committed
rephrase the note [skip-ci]
1 parent cdb0f3d commit 1d81a49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/core/computation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,8 @@ def apply_to_dataset(func, obj, *args, **kwargs):
11621162
11631163
Notes
11641164
-----
1165-
If a ``DataArray``, result will have the same name as ``obj`` but the single data
1166-
variable in the temporary ``Dataset`` will always have a generic name.
1165+
If a ``DataArray``, the data variable of the temporary ``Dataset`` will have a
1166+
generic name. The original name will be restored for the result of the call.
11671167
"""
11681168
from .dataarray import DataArray
11691169

0 commit comments

Comments
 (0)