We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e59a411 commit 12d1ddaCopy full SHA for 12d1dda
pandas/core/frame.py
@@ -10286,7 +10286,9 @@ def apply(
10286
either the DataFrame's index (``axis=0``) or the DataFrame's columns
10287
(``axis=1``). By default (``result_type=None``), the final return type
10288
is inferred from the return type of the applied function. Otherwise,
10289
- it depends on the `result_type` argument.
+ it depends on the `result_type` argument. The return type of the applied
10290
+ function is inferred based on the first computed result obtained after
10291
+ applying the function to a Series object.
10292
10293
Parameters
10294
----------
0 commit comments