diff --git a/pandas/core/apply.py b/pandas/core/apply.py index 8a28b30aecc03..6ab2f958b8730 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -1284,7 +1284,7 @@ def curried(x): if len(mapped) and isinstance(mapped[0], ABCSeries): warnings.warn( - "Returning a DataFrame from Series.apply when the supplied function" + "Returning a DataFrame from Series.apply when the supplied function " "returns a Series is deprecated and will be removed in a future " "version.", FutureWarning,