From 13431ffa4876f28e66982cc8efed2c2b47d6036d Mon Sep 17 00:00:00 2001 From: Richard Shadrach <45562402+rhshadrach@users.noreply.github.com> Date: Thu, 24 Jun 2021 08:51:48 -0400 Subject: [PATCH] Backport PR #42193: DOC: Correct docstring for Series.apply --- pandas/core/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 43cb26e5ba5fc..24f433db45e60 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -4204,7 +4204,7 @@ def apply( convert_dtype : bool, default True Try to find better dtype for elementwise function results. If False, leave as dtype=object. Note that the dtype is always - preserved for extension array dtypes, such as Categorical. + preserved for some extension array dtypes, such as Categorical. args : tuple Positional arguments passed to func after the series value. **kwargs