Skip to content

Commit dfa0f55

Browse files
author
mdeboc
committed
DOC: update the pandas.DataFrame.apply docstring
1 parent 3160fb8 commit dfa0f55

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
@@ -4859,13 +4859,13 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
48594859
reduce : bool or `None`, default `None`
48604860
Try to apply reduction procedures. If the DataFrame is empty,
48614861
`apply` will use `reduce` to determine whether the result
4862-
should be a Series or a DataFrame. If ``reduce is None`` (the
4862+
should be a Series or a DataFrame. If ``reduce=None`` (the
48634863
default), `apply`'s return value will be guessed by calling
48644864
`func` on an empty Series
48654865
(note: while guessing, exceptions raised by `func` will be
48664866
ignored).
4867-
If ``reduce is True`` a Series will always be returned, and if
4868-
``reduce is False`` a DataFrame will always be returned.
4867+
If ``reduce=True`` a Series will always be returned, and if
4868+
``reduce=False`` a DataFrame will always be returned.
48694869
48704870
.. deprecated:: 0.23.0
48714871
This argument will be removed in a future version, replaced

0 commit comments

Comments
 (0)