diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 5baba0bae1d45..4c4254be7f4cb 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6593,9 +6593,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.