Skip to content

Commit 3940df8

Browse files
authored
DOC: Updated shift docstring to mark Series behavior (#62133)
1 parent eee7455 commit 3940df8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10216,6 +10216,7 @@ def shift(
1021610216
suffix : str, optional
1021710217
If str and periods is an iterable, this is added after the column
1021810218
name and before the shift value for each shifted column name.
10219+
For `Series` this parameter is unused and defaults to `None`.
1021910220
1022010221
Returns
1022110222
-------

0 commit comments

Comments
 (0)