Skip to content

Commit

Permalink
Move to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
topper-123 committed Jul 26, 2019
1 parent 555b696 commit e7b8927
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
12 changes: 0 additions & 12 deletions doc/source/whatsnew/v0.25.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,18 +272,6 @@ is respected in indexing. (:issue:`24076`, :issue:`16785`)
df['2019-01-01 12:00:00+04:00':'2019-01-01 13:00:00+04:00']
.. _whatsnew_0250.api_breaking.MultiIndex._names:


``MultiIndex.levels`` do not hold level names any longer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A :class:`MultiIndex` previously stored the level names as attributes of each of its
:attr:`MultiIndex.levels`. From Pandas 0.25, the names are only accessed through
:attr:`MultiIndex.names` (which was also possible previously). This is done in order to
make :attr:`MultiIndex.levels` more similar to :attr:`CategoricalIndex.categories`.


.. _whatsnew_0250.api_breaking.multi_indexing:


Expand Down
11 changes: 10 additions & 1 deletion doc/source/whatsnew/v1.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@ Other enhancements

.. _whatsnew_1000.api_breaking:

-

.. _whatsnew_1000.api_breaking.MultiIndex._names:

``MultiIndex.levels`` do not hold level names any longer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- A :class:`MultiIndex` previously stored the level names as attributes of each of its
:attr:`MultiIndex.levels`. From Pandas 1.0, the names are only accessed through
:attr:`MultiIndex.names` (which was also possible previously). This is done in order to
make :attr:`MultiIndex.levels` more similar to :attr:`CategoricalIndex.categories`.
-

Backwards incompatible API changes
Expand Down

0 comments on commit e7b8927

Please sign in to comment.