@@ -3882,6 +3882,11 @@ def apply(self, func, axis=0, broadcast=False, raw=False, reduce=None,
38823882 broadcast : boolean, default False
38833883 For aggregation functions, return object of same size with values
38843884 propagated
3885+ raw : boolean, default False
3886+ If False, convert each row or column into a Series. If raw=True the
3887+ passed function will receive ndarray objects instead. If you are
3888+ just applying a NumPy reduction function this will achieve much
3889+ better performance
38853890 reduce : boolean or None, default None
38863891 Try to apply reduction procedures. If the DataFrame is empty,
38873892 apply will use reduce to determine whether the result should be a
@@ -3890,11 +3895,6 @@ def apply(self, func, axis=0, broadcast=False, raw=False, reduce=None,
38903895 while guessing, exceptions raised by func will be ignored). If
38913896 reduce is True a Series will always be returned, and if False a
38923897 DataFrame will always be returned.
3893- raw : boolean, default False
3894- If False, convert each row or column into a Series. If raw=True the
3895- passed function will receive ndarray objects instead. If you are
3896- just applying a NumPy reduction function this will achieve much
3897- better performance
38983898 args : tuple
38993899 Positional arguments to pass to function in addition to the
39003900 array/series
0 commit comments