Skip to content

Commit 51ad0cb

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

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
@@ -4823,9 +4823,9 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
48234823
48244824
Objects passed to the function are Series objects whose index is
48254825
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.
4826+
(``axis=1``). If ``result_type is None``, the final return type is
4827+
inferred from the return type of the applied function. Otherwise, it
4828+
depends on the `result_type` argument.
48294829
48304830
Parameters
48314831
----------

0 commit comments

Comments
 (0)