diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9840af15f1249..33fcc94f906d5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10216,6 +10216,7 @@ def shift( suffix : str, optional If str and periods is an iterable, this is added after the column name and before the shift value for each shifted column name. + For `Series` this parameter is unused and defaults to `None`. Returns -------