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
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,9 +65,15 @@ Enhancements
65
65
``append_dim`` is set, as it will automatically be set to ``'a'`` internally.
66
66
By `David Brochart <https://github.com/davidbrochart>`_.
67
67
68
-
- :py:meth:`~xarray.Dataset.drop` now supports keyword arguments; dropping index labels by specifying both ``dim`` and ``labels`` is deprecated (:issue:`2910`).
68
+
- :py:meth:`~xarray.Dataset.drop` now supports keyword arguments; dropping index
69
+
labels by specifying both ``dim`` and ``labels`` is deprecated (:issue:`2910`).
69
70
By `Gregory Gundersen <https://github.com/gwgundersen/>`_.
70
71
72
+
- Added examples of :py:meth:`Dataset.set_index` and
73
+
:py:meth:`DataArray.set_index`, as well are more specific error messages
74
+
when the user passes invalid arguments (:issue:`3176`).
75
+
By `Gregory Gundersen <https://github.com/gwgundersen>`_.
76
+
71
77
Bug fixes
72
78
~~~~~~~~~
73
79
- Fix regression introduced in v0.12.2 where ``copy(deep=True)`` would convert
0 commit comments