Skip to content

Commit dbd90c1

Browse files
author
mdeboc
committed
DOC: update the pandas.DataFrame.apply docstring
1 parent da64c86 commit dbd90c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/frame.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4837,7 +4837,7 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
48374837
48384838
* 0 or 'index': apply function to each column.
48394839
* 1 or 'columns': apply function to each row.
4840-
broadcast : boolean, optional
4840+
broadcast : bool, optional
48414841
Only relevant for aggregation functions:
48424842
48434843
* `False` or `None` : returns a Series whose length is the length
@@ -4850,14 +4850,14 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
48504850
This argument will be removed in a future version, replaced
48514851
by result_type='broadcast'.
48524852
4853-
raw : boolean, default False
4853+
raw : bool, default False
48544854
* `False` : passes each row or column as a Series to the
48554855
function.
48564856
* `True` : the passed function will receive ndarray objects
48574857
instead.
48584858
If you are just applying a NumPy reduction function this will
48594859
achieve much better performance.
4860-
reduce : boolean or `None`, default `None`
4860+
reduce : bool or `None`, default `None`
48614861
Try to apply reduction procedures. If the `DataFrame` is empty,
48624862
:meth:`apply` will use reduce to determine whether the result
48634863
should be a Series or a `DataFrame`. If ``reduce is None`` (the

0 commit comments

Comments
 (0)