File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4412,14 +4412,13 @@ def apply(
4412
4412
"""
4413
4413
Invoke function on values of Series.
4414
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
4415
.. deprecated:: 2.1.0
4419
4416
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.
4417
+ If the result from ``func`` is a ``Series``, wrapping the output in a
4418
+ ``DataFrame`` instead of a ``Series`` has been deprecated.
4419
+
4420
+ Can be ufunc (a NumPy function that applies to the entire Series)
4421
+ or a Python function that only works on single values.
4423
4422
4424
4423
Parameters
4425
4424
----------
You can’t perform that action at this time.
0 commit comments