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
DEPR: DataFrameGroupBy.apply operating on the group keys (pandas-dev#52477)
* DEPR: DataFrameGroupBy.apply operating on the group keys
* Reorder whatsnew
* Remove warnings from pivot, minor refinements
* Handle warning in docs
* Improve warning message
* Add note to user guide
* Improve whatsnew
* Adjust docstrings
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.1.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,7 @@ Other API changes
200
200
201
201
Deprecations
202
202
~~~~~~~~~~~~
203
+
- Deprecated :meth:`.DataFrameGroupBy.apply` and methods on the objects returned by :meth:`.DataFrameGroupBy.resample` operating on the grouping column(s); select the columns to operate on after groupby to either explicitly include or exclude the groupings and avoid the ``FutureWarning`` (:issue:`7155`)
203
204
- Deprecated silently dropping unrecognized timezones when parsing strings to datetimes (:issue:`18702`)
204
205
- Deprecated :meth:`DataFrame._data` and :meth:`Series._data`, use public APIs instead (:issue:`33333`)
205
206
- Deprecated :meth:`.Groupby.all` and :meth:`.GroupBy.any` with datetime64 or :class:`PeriodDtype` values, matching the :class:`Series` and :class:`DataFrame` deprecations (:issue:`34479`)
0 commit comments