We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e00115d commit 59fcd33Copy full SHA for 59fcd33
pandas/core/series.py
@@ -4394,14 +4394,13 @@ def apply(
4394
"""
4395
Invoke function on values of Series.
4396
4397
- Can be ufunc (a NumPy function that applies to the entire Series)
4398
- or a Python function that only works on single values.
4399
-
4400
.. deprecated:: 2.1.0
4401
4402
- If the output from ``func`` is a listlike of ``Series`` the output,
4403
- wrapping the output in a ``DataFrame`` instead of a ``Series`` has been
4404
- deprecated.
+ If the result from ``func`` is a ``Series``, wrapping the output in a
+ ``DataFrame`` instead of a ``Series`` has been deprecated.
+
+ Can be ufunc (a NumPy function that applies to the entire Series)
+ or a Python function that only works on single values.
4405
4406
Parameters
4407
----------
0 commit comments