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
+5-5
Original file line number
Diff line number
Diff line change
@@ -89,9 +89,9 @@ Backwards incompatible API changes
89
89
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90
90
- :meth:`DataFrame.swaplevels` now raises a ``TypeError`` if the axis is not a :class:`MultiIndex`.
91
91
Previously a ``AttributeError`` was raised (:issue:`31126`)
92
-
- :meth:`DataFrameGroupby.mean` and :meth:`SeriesGroupby.mean` (and similarly for :meth:`~DataFrameGroupby.median`, :meth:`~DataFrameGroupby.std`` and :meth:`~DataFrameGroupby.var``)
92
+
- :meth:`DataFrameGroupby.mean` and :meth:`SeriesGroupby.mean` (and similarly for :meth:`~DataFrameGroupby.median`, :meth:`~DataFrameGroupby.std` and :meth:`~DataFrameGroupby.var`)
93
93
now raise a ``TypeError`` if a not-accepted keyword argument is passed into it.
94
-
Previously a ``UnsupportedFunctionCall`` was raised (``AssertionError`` if ``min_count`` passed into :meth:`~DataFrameGroupby.median``) (:issue:`31485`)
94
+
Previously a ``UnsupportedFunctionCall`` was raised (``AssertionError`` if ``min_count`` passed into :meth:`~DataFrameGroupby.median`) (:issue:`31485`)
95
95
- :meth:`DataFrame.at` and :meth:`Series.at` will raise a ``TypeError`` instead of a ``ValueError`` if an incompatible key is passed, and ``KeyError`` if a missing key is passed, matching the behavior of ``.loc[]`` (:issue:`31722`)
96
96
- Passing an integer dtype other than ``int64`` to ``np.array(period_index, dtype=...)`` will now raise ``TypeError`` instead of incorrectly using ``int64`` (:issue:`32255`)
97
97
-
@@ -188,9 +188,9 @@ Performance improvements
188
188
- Performance improvement in :class:`Timedelta` constructor (:issue:`30543`)
189
189
- Performance improvement in :class:`Timestamp` constructor (:issue:`30543`)
190
190
- Performance improvement in flex arithmetic ops between :class:`DataFrame` and :class:`Series` with ``axis=0`` (:issue:`31296`)
191
-
- The internal :meth:`Index._shallow_copy` now copies cached attributes over to the new index,
192
-
avoiding creating these again on the new index. This can speed up many operations
193
-
that depend on creating copies of existing indexes (:issue:`28584`)
191
+
- The internal index method :meth:`~Index._shallow_copy` now copies cached attributes over to the new index,
192
+
avoiding creating these again on the new index. This can speed up many operations that depend on creating copies of
0 commit comments