From ea47b35e6a986fb06269c831dade52610a387b03 Mon Sep 17 00:00:00 2001 From: jbrockmendel Date: Tue, 19 Nov 2019 18:33:07 -0800 Subject: [PATCH] DEPR: remove reduce kwd from DataFrame.apply --- pandas/core/frame.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 0b76566adf802..d03e4d3df38b2 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -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.