File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ New Features
36
36
By `Justus Magin <https://github.com/keewis >`_.
37
37
- :py:meth: `Dataset.groupby ` and :py:meth: `DataArray.groupby ` now raise a
38
38
`TypeError ` on multiple string arguments. Receiving multiple string arguments
39
- often means a user is attempting to pass multiple dimensions as seeparate
40
- argument and should instead pass a list.
39
+ often means a user is attempting to pass multiple dimensions as separate
40
+ arguments and should instead pass a single list of dimensions .
41
41
(:pull: `3802 `)
42
42
By `Maximilian Roos <https://github.com/max-sixty >`_
43
43
- The new ``Dataset._repr_html_ `` and ``DataArray._repr_html_ `` (introduced
44
44
in 0.14.1) is now on by default. To disable, use
45
45
``xarray.set_options(display_style="text") ``.
46
46
By `Julia Signell <https://github.com/jsignell >`_.
47
47
- An ellipsis (``... ``) is now supported in the ``dims `` argument of
48
- :py:meth: `Dataset.stack ` and :py:meth: `DataArray.stack ` to mean all
48
+ :py:meth: `Dataset.stack ` and :py:meth: `DataArray.stack `, meaning all
49
49
dimensions, similar to its meaning in :py:meth: `DataArray.transpose `
50
50
(:pull: `3826 `)
51
51
By `Maximilian Roos <https://github.com/max-sixty >`_
Original file line number Diff line number Diff line change @@ -1705,7 +1705,8 @@ def stack(
1705
1705
----------
1706
1706
dimensions : Mapping of the form new_name=(dim1, dim2, ...)
1707
1707
Names of new dimensions, and the existing dimensions that they
1708
- replace.
1708
+ replace. Passing a list with an ellipsis (`[...]`) will stack over all
1709
+ dimensions.
1709
1710
**dimensions_kwargs:
1710
1711
The keyword arguments form of ``dimensions``.
1711
1712
One of dimensions or dimensions_kwargs must be provided.
Original file line number Diff line number Diff line change @@ -3279,7 +3279,8 @@ def stack(
3279
3279
----------
3280
3280
dimensions : Mapping of the form new_name=(dim1, dim2, ...)
3281
3281
Names of new dimensions, and the existing dimensions that they
3282
- replace.
3282
+ replace. Passing a list with an ellipsis (`[...]`) will stack over all
3283
+ dimensions.
3283
3284
**dimensions_kwargs:
3284
3285
The keyword arguments form of ``dimensions``.
3285
3286
One of dimensions or dimensions_kwargs must be provided.
You can’t perform that action at this time.
0 commit comments