Skip to content

Commit c81a26e

Browse files
committed
Move to 1.0 + add issue number
1 parent fb0c982 commit c81a26e

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

doc/source/whatsnew/v0.25.0.rst

-12
Original file line numberDiff line numberDiff line change
@@ -272,18 +272,6 @@ is respected in indexing. (:issue:`24076`, :issue:`16785`)
272272
df['2019-01-01 12:00:00+04:00':'2019-01-01 13:00:00+04:00']
273273
274274
275-
.. _whatsnew_0250.api_breaking.MultiIndex._names:
276-
277-
278-
``MultiIndex.levels`` do not hold level names any longer
279-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
280-
281-
A :class:`MultiIndex` previously stored the level names as attributes of each of its
282-
:attr:`MultiIndex.levels`. From Pandas 0.25, the names are only accessed through
283-
:attr:`MultiIndex.names` (which was also possible previously). This is done in order to
284-
make :attr:`MultiIndex.levels` more similar to :attr:`CategoricalIndex.categories`.
285-
286-
287275
.. _whatsnew_0250.api_breaking.multi_indexing:
288276

289277

doc/source/whatsnew/v1.0.0.rst

+10-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,20 @@ Other enhancements
3131

3232
.. _whatsnew_1000.api_breaking:
3333

34-
-
35-
-
3634

3735
Backwards incompatible API changes
3836
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3937

38+
.. _whatsnew_1000.api_breaking.MultiIndex._names:
39+
40+
``MultiIndex.levels`` do not hold level names any longer
41+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42+
43+
- A :class:`MultiIndex` previously stored the level names as attributes of each of its
44+
:attr:`MultiIndex.levels`. From Pandas 1.0, the names are only accessed through
45+
:attr:`MultiIndex.names` (which was also possible previously). This is done in order to
46+
make :attr:`MultiIndex.levels` more similar to :attr:`CategoricalIndex.categories` (:issue`27242`:).
47+
4048
.. _whatsnew_1000.api.other:
4149

4250
- :class:`pandas.core.groupby.GroupBy.transform` now raises on invalid operation names (:issue:`27489`).

0 commit comments

Comments
 (0)