File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -686,8 +686,6 @@ Other API changes
686
686
- When testing pandas, the new minimum required version of pytest is 5.0.1 (:issue: `29664 `)
687
687
- :meth: `Series.str.__iter__ ` was deprecated and will be removed in future releases (:issue: `28277 `).
688
688
- Added ``<NA> `` to the list of default NA values for :meth: `read_csv ` (:issue: `30821 `)
689
- - a ``TypeError `` is now raised if attempting to call :meth: `DataFrame.swaplevels ` and the axis is not
690
- a :class: `MultiIndex `. Previously a ``AttributeError `` was raised (:issue: `31126 `)
691
689
692
690
.. _whatsnew_100.api.documentation :
693
691
Original file line number Diff line number Diff line change @@ -55,7 +55,12 @@ Other API changes
55
55
- :meth: `Series.describe ` will now show distribution percentiles for ``datetime `` dtypes, statistics ``first `` and ``last ``
56
56
will now be ``min `` and ``max `` to match with numeric dtypes in :meth: `DataFrame.describe ` (:issue: `30164 `)
57
57
-
58
- -
58
+
59
+ Backwards incompatible API changes
60
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61
+ - :meth: `DataFrame.swaplevels ` now raises a ``TypeError `` if the axis is not a :class: `MultiIndex `.
62
+ Previously a ``AttributeError `` was raised (:issue: `31126 `)
63
+
59
64
60
65
.. ---------------------------------------------------------------------------
61
66
You can’t perform that action at this time.
0 commit comments