Skip to content

Commit b633478

Browse files
committed
Added set_index changes.
1 parent cfd5dd5 commit b633478

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/whats-new.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,15 @@ Enhancements
6565
``append_dim`` is set, as it will automatically be set to ``'a'`` internally.
6666
By `David Brochart <https://github.com/davidbrochart>`_.
6767

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`).
6970
By `Gregory Gundersen <https://github.com/gwgundersen/>`_.
7071

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+
7177
Bug fixes
7278
~~~~~~~~~
7379
- Fix regression introduced in v0.12.2 where ``copy(deep=True)`` would convert

0 commit comments

Comments
 (0)