File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
77
77
-i " pandas.RangeIndex.from_range PR01,SA01" \
78
78
-i " pandas.RangeIndex.start SA01" \
79
79
-i " pandas.RangeIndex.step SA01" \
80
- -i " pandas.RangeIndex.stop SA01" \
81
80
-i " pandas.Series.cat.add_categories PR01,PR02" \
82
81
-i " pandas.Series.cat.as_ordered PR01" \
83
82
-i " pandas.Series.cat.as_unordered PR01" \
Original file line number Diff line number Diff line change @@ -313,6 +313,17 @@ def stop(self) -> int:
313
313
"""
314
314
The value of the `stop` parameter.
315
315
316
+ This property returns the `stop` value of the RangeIndex, which defines the
317
+ upper (or lower, in case of negative steps) bound of the index range. The
318
+ `stop` value is exclusive, meaning the RangeIndex includes values up to but
319
+ not including this value.
320
+
321
+ See Also
322
+ --------
323
+ RangeIndex : Immutable index representing a range of integers.
324
+ RangeIndex.start : The start value of the RangeIndex.
325
+ RangeIndex.step : The step size between elements in the RangeIndex.
326
+
316
327
Examples
317
328
--------
318
329
>>> idx = pd.RangeIndex(5)
You can’t perform that action at this time.
0 commit comments