You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.1.0.rst
+3-1
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,9 @@ Other API changes
182
182
Backwards incompatible API changes
183
183
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184
184
- :meth:`DataFrame.swaplevels` now raises a ``TypeError`` if the axis is not a :class:`MultiIndex`.
185
-
Previously a ``AttributeError`` was raised (:issue:`31126`)
185
+
Previously an ``AttributeError`` was raised (:issue:`31126`)
186
+
- :meth:`DataFrame.xs` now raises a ``TypeError`` if a ``level`` keyword is supplied and the axis is not a :class:`MultiIndex`.
187
+
Previously an ``AttributeError`` was raised (:issue:`33610`)
186
188
- :meth:`DataFrameGroupby.mean` and :meth:`SeriesGroupby.mean` (and similarly for :meth:`~DataFrameGroupby.median`, :meth:`~DataFrameGroupby.std` and :meth:`~DataFrameGroupby.var`)
187
189
now raise a ``TypeError`` if a not-accepted keyword argument is passed into it.
188
190
Previously a ``UnsupportedFunctionCall`` was raised (``AssertionError`` if ``min_count`` passed into :meth:`~DataFrameGroupby.median`) (:issue:`31485`)
0 commit comments