Skip to content

Commit 106e3bd

Browse files
jbrockmendelproost
authored andcommitted
DEPR: remove reduce kwd from DataFrame.apply (pandas-dev#29730)
1 parent ff96592 commit 106e3bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/core/frame.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -6474,9 +6474,7 @@ def transform(self, func, axis=0, *args, **kwargs):
64746474
return self.T.transform(func, *args, **kwargs).T
64756475
return super().transform(func, *args, **kwargs)
64766476

6477-
def apply(
6478-
self, func, axis=0, raw=False, reduce=None, result_type=None, args=(), **kwds
6479-
):
6477+
def apply(self, func, axis=0, raw=False, result_type=None, args=(), **kwds):
64806478
"""
64816479
Apply a function along an axis of the DataFrame.
64826480

0 commit comments

Comments
 (0)