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 c90bc2a commit e00115dCopy full SHA for e00115d
pandas/core/series.py
@@ -4397,6 +4397,12 @@ def apply(
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.
4405
4406
Parameters
4407
----------
4408
func : function
0 commit comments