Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
DEPR: remove reduce kwd from DataFrame.apply
  • Loading branch information
jbrockmendel committed Nov 20, 2019
commit ea47b35e6a986fb06269c831dade52610a387b03
4 changes: 1 addition & 3 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6598,9 +6598,7 @@ def transform(self, func, axis=0, *args, **kwargs):
return self.T.transform(func, *args, **kwargs).T
return super().transform(func, *args, **kwargs)

def apply(
self, func, axis=0, raw=False, reduce=None, result_type=None, args=(), **kwds
):
def apply(self, func, axis=0, raw=False, result_type=None, args=(), **kwds):
"""
Apply a function along an axis of the DataFrame.

Expand Down