File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -666,8 +666,6 @@ Other API changes
666
666
- When testing pandas, the new minimum required version of pytest is 5.0.1 (:issue: `29664 `)
667
667
- :meth: `Series.str.__iter__ ` was deprecated and will be removed in future releases (:issue: `28277 `).
668
668
- Added ``<NA> `` to the list of default NA values for :meth: `read_csv ` (:issue: `30821 `)
669
- - a ``TypeError `` is now raised if attempting to call :meth: `DataFrame.swaplevels ` and the axis is not
670
- a :class: `MultiIndex `. Previously a ``AttributeError `` was raised (:issue: `31126 `)
671
669
672
670
.. _whatsnew_100.api.documentation :
673
671
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ Other enhancements
21
21
-
22
22
-
23
23
24
+ Backwards incompatible API changes
25
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
+ - a ``TypeError `` is now raised if calling :meth: `DataFrame.swaplevels ` and the axis is not
27
+ a :class: `MultiIndex `. Previously a ``AttributeError `` was raised (:issue: `31126 `)
24
28
25
29
.. ---------------------------------------------------------------------------
26
30
You can’t perform that action at this time.
0 commit comments