We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21811d0 commit 06d498bCopy full SHA for 06d498b
pandas/core/series.py
@@ -4412,14 +4412,13 @@ def apply(
4412
"""
4413
Invoke function on values of Series.
4414
4415
- Can be ufunc (a NumPy function that applies to the entire Series)
4416
- or a Python function that only works on single values.
4417
-
4418
.. deprecated:: 2.1.0
4419
4420
- If the output from ``func`` is a listlike of ``Series`` the output,
4421
- wrapping the output in a ``DataFrame`` instead of a ``Series`` has been
4422
- 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.
4423
4424
Parameters
4425
----------
0 commit comments