From ad5ef47766c9c17027d56dd854206e67d9e0aae7 Mon Sep 17 00:00:00 2001 From: sharkipelago Date: Sat, 16 Aug 2025 18:23:13 -0400 Subject: [PATCH] updated shift docstring to mark Series behavior --- pandas/core/generic.py | 1 + 1 file changed, 1 insertion(+) 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 -------