File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
73
73
-i " pandas.Period.freq GL08" \
74
74
-i " pandas.Period.ordinal GL08" \
75
75
-i " pandas.RangeIndex.from_range PR01,SA01" \
76
- -i " pandas.RangeIndex.step SA01" \
77
76
-i " pandas.Series.cat.add_categories PR01,PR02" \
78
77
-i " pandas.Series.cat.as_ordered PR01" \
79
78
-i " pandas.Series.cat.as_unordered PR01" \
Original file line number Diff line number Diff line change @@ -351,6 +351,15 @@ def step(self) -> int:
351
351
"""
352
352
The value of the `step` parameter (``1`` if this was not supplied).
353
353
354
+ The ``step`` parameter determines the increment (or decrement in the case
355
+ of negative values) between consecutive elements in the ``RangeIndex``.
356
+
357
+ See Also
358
+ --------
359
+ RangeIndex : Immutable index implementing a range-based index.
360
+ RangeIndex.stop : Returns the stop value of the RangeIndex.
361
+ RangeIndex.start : Returns the start value of the RangeIndex.
362
+
354
363
Examples
355
364
--------
356
365
>>> idx = pd.RangeIndex(5)
You can’t perform that action at this time.
0 commit comments