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/user_guide/basics.rst
+4
Original file line number
Diff line number
Diff line change
@@ -1045,6 +1045,9 @@ not noted for a particular column will be ``NaN``:
1045
1045
Mixed dtypes
1046
1046
++++++++++++
1047
1047
1048
+
.. deprecated:: 1.4.0
1049
+
Attempting to determine which columns cannot be aggregated and silently dropping them from the results is deprecated and will be removed in a future version. If any porition of the columns or operations provided fail, the call to ``.agg`` will raise.
1050
+
1048
1051
When presented with mixed dtypes that cannot aggregate, ``.agg`` will only take the valid
1049
1052
aggregations. This is similar to how ``.groupby.agg`` works.
1050
1053
@@ -1061,6 +1064,7 @@ aggregations. This is similar to how ``.groupby.agg`` works.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.4.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -338,6 +338,7 @@ Other Deprecations
338
338
- Deprecated the ``index`` argument to :class:`SparseArray` construction (:issue:`23089`)
339
339
- Deprecated :meth:`.Rolling.validate`, :meth:`.Expanding.validate`, and :meth:`.ExponentialMovingWindow.validate` (:issue:`43665`)
340
340
- Deprecated silent dropping of columns that raised a ``TypeError`` in :class:`Series.transform` and :class:`DataFrame.transform` when used with a dictionary (:issue:`43740`)
341
+
- Deprecated silent dropping of columns that raised a ``TypeError``, ``DataError``, and some cases of ``ValueError`` in :meth:`Series.aggregate`, :meth:`DataFrame.aggregate`, :meth:`Series.groupby.aggregate`, and :meth:`DataFrame.groupby.aggregate` when used with a list (:issue:`43740`)
0 commit comments