File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Fixed regressions
27
27
Bug fixes
28
28
~~~~~~~~~
29
29
- Bug in the Copy-on-Write implementation losing track of views in certain chained indexing cases (:issue: `48996 `)
30
- -
30
+ - Bug in inconsistent DataFrame.agg behavior when passing as kwargs `` numeric_only=True `` ( :issue: ` 49352 `)
31
31
32
32
.. ---------------------------------------------------------------------------
33
33
.. _whatsnew_152.other :
Original file line number Diff line number Diff line change @@ -9322,6 +9322,8 @@ def apply(
9322
9322
Functions that mutate the passed object can produce unexpected
9323
9323
behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
9324
9324
for more details.
9325
+ Use the keyword argument `numeric_only=True` to apply functions only to
9326
+ numeric columns and to skip the non-numeric columns.
9325
9327
9326
9328
Examples
9327
9329
--------
Original file line number Diff line number Diff line change 46
46
for more details.
47
47
48
48
A passed user-defined-function will be passed a Series for evaluation.
49
+
50
+ Use the keyword argument `numeric_only=True` to apply functions only to
51
+ numeric columns and to skip the non-numeric columns.
49
52
{examples}"""
50
53
51
54
_shared_docs [
You can’t perform that action at this time.
0 commit comments