From 1b21405f3b264769101be449365f0aae7d5f7210 Mon Sep 17 00:00:00 2001 From: Richard Shadrach Date: Tue, 22 Jun 2021 21:26:22 -0400 Subject: [PATCH] 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 e94689383100d..fd20d992603c7 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