Skip to content

Commit 23be01b

Browse files
author
mdeboc
committed
DOC: update the pandas.DataFrame.apply docstring
1 parent ee6919e commit 23be01b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pandas/core/frame.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4822,11 +4822,10 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
48224822
Apply a function along an axis of the DataFrame.
48234823
48244824
Objects passed to the function are Series objects whose index is
4825-
either the DataFrame's index (``axis=0``)
4826-
or the DataFrame's columns (``axis=1``).
4827-
If ``result_type is None``, the final return type is the return
4828-
type of the applied function.
4829-
Otherwise, it depends on the `result_type` argument.
4825+
either the DataFrame's index (``axis=0``) or the DataFrame's columns
4826+
(``axis=1``). If ``result_type is None``, the final return type is the
4827+
return type of the applied function. Otherwise, it depends on the
4828+
`result_type` argument.
48304829
48314830
Parameters
48324831
----------

0 commit comments

Comments
 (0)