We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 325599f commit b610e31Copy full SHA for b610e31
pandas/core/generic.py
@@ -9347,12 +9347,12 @@ def shift(
9347
def slice_shift(self: FrameOrSeries, periods: int = 1, axis=0) -> FrameOrSeries:
9348
"""
9349
Equivalent to `shift` without copying data.
9350
-
9351
The shifted data will not include the dropped periods and the
9352
shifted axis will be smaller than the original.
9353
9354
.. deprecated:: 1.2.0
9355
- slice_shift is deprecated, use DataFrame/Series.shift instead.
+ slice_shift is deprecated,
+ use DataFrame/Series.shift instead.
9356
9357
Parameters
9358
----------
0 commit comments