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
API: Disallow dict as agg parameter during groupby
Grouped, rolled, and resample Series / DataFrames
will now disallow dicts / nested dicts respectively
as parameters to aggregation (was deprecated before).
xref pandas-devgh-15931.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.txt
+2
Original file line number
Diff line number
Diff line change
@@ -941,6 +941,8 @@ Removal of prior version deprecations/changes
941
941
- Several private functions were removed from the (non-public) module ``pandas.core.common`` (:issue:`22001`)
942
942
- Removal of the previously deprecated module ``pandas.core.datetools`` (:issue:`14105`, :issue:`14094`)
943
943
- Strings passed into :meth:`DataFrame.groupby` that refer to both column and index levels will raise a ``ValueError`` (:issue:`14432`)
944
+
- Grouped, rolled, and resampled ``Series`` will now raise a ``ValueError`` when a dictionary is passed in during aggregation (:issue:`15931`)
945
+
- Grouped, rolled, and resampled ``DataFrame`` will now raise a ``ValueError`` when a nested dictionary is passed in during aggregation (:issue:`15931`)
944
946
- :meth:`Index.repeat` and :meth:`MultiIndex.repeat` have renamed the ``n`` argument to ``repeats`` (:issue:`14645`)
945
947
- Removal of the previously deprecated ``as_indexer`` keyword completely from ``str.match()`` (:issue:`22356`, :issue:`6581`)
946
948
- Removed the ``pandas.formats.style`` shim for :class:`pandas.io.formats.style.Styler` (:issue:`16059`)
0 commit comments