@@ -3882,6 +3882,11 @@ def apply(self, func, axis=0, broadcast=False, raw=False, reduce=None,
3882
3882
broadcast : boolean, default False
3883
3883
For aggregation functions, return object of same size with values
3884
3884
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
3885
3890
reduce : boolean or None, default None
3886
3891
Try to apply reduction procedures. If the DataFrame is empty,
3887
3892
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,
3890
3895
while guessing, exceptions raised by func will be ignored). If
3891
3896
reduce is True a Series will always be returned, and if False a
3892
3897
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
3898
3898
args : tuple
3899
3899
Positional arguments to pass to function in addition to the
3900
3900
array/series
0 commit comments