You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Support for keyword argument-based dropping.
* Cherry picked changes.
* Moved noqa to correct location; added check for when labels are coordinates.
* Added okwarning to drop docs.
* Made unit tests more explicit. Added test for dropping along multiple dimensions.
* Used black.
* Fixed typo.
Co-Authored-By: Maximilian Roos <[email protected]>
* Docs for amended drop API.
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,12 +57,17 @@ Enhancements
57
57
58
58
- Added ``join='override'``. This only checks that index sizes are equal among objects and skips
59
59
checking indexes for equality. By `Deepak Cherian <https://github.com/dcherian>`_.
60
+
60
61
- :py:func:`~xarray.concat` and :py:func:`~xarray.open_mfdataset` now support the ``join`` kwarg.
61
62
It is passed down to :py:func:`~xarray.align`. By `Deepak Cherian <https://github.com/dcherian>`_.
63
+
62
64
- In :py:meth:`~xarray.Dataset.to_zarr`, passing ``mode`` is not mandatory if
63
65
``append_dim`` is set, as it will automatically be set to ``'a'`` internally.
64
66
By `David Brochart <https://github.com/davidbrochart>`_.
65
67
68
+
- :py:meth:`~xarray.Dataset.drop` now supports keyword arguments; dropping index labels by specifying both ``dim`` and ``labels`` is deprecated (:issue:`2910`).
69
+
By `Gregory Gundersen <https://github.com/gwgundersen/>`_.
70
+
66
71
Bug fixes
67
72
~~~~~~~~~
68
73
- Fix regression introduced in v0.12.2 where ``copy(deep=True)`` would convert
0 commit comments