File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -31,7 +31,16 @@ Other enhancements
3131
3232.. _whatsnew_1000.api_breaking :
3333
34- -
34+
35+ .. _whatsnew_1000.api_breaking.MultiIndex._names :
36+
37+ ``MultiIndex.levels `` do not hold level names any longer
38+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39+
40+ - A :class: `MultiIndex ` previously stored the level names as attributes of each of its
41+ :attr: `MultiIndex.levels `. From Pandas 1.0, the names are only accessed through
42+ :attr: `MultiIndex.names ` (which was also possible previously). This is done in order to
43+ make :attr: `MultiIndex.levels ` more similar to :attr: `CategoricalIndex.categories `.
3544-
3645
3746Backwards incompatible API changes
You can’t perform that action at this time.
0 commit comments