Skip to content

Commit b610e31

Browse files
committed
fix for docstring
1 parent 325599f commit b610e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9347,12 +9347,12 @@ def shift(
93479347
def slice_shift(self: FrameOrSeries, periods: int = 1, axis=0) -> FrameOrSeries:
93489348
"""
93499349
Equivalent to `shift` without copying data.
9350-
93519350
The shifted data will not include the dropped periods and the
93529351
shifted axis will be smaller than the original.
93539352
93549353
.. deprecated:: 1.2.0
9355-
slice_shift is deprecated, use DataFrame/Series.shift instead.
9354+
slice_shift is deprecated,
9355+
use DataFrame/Series.shift instead.
93569356
93579357
Parameters
93589358
----------

0 commit comments

Comments
 (0)