Skip to content

Commit 8566ff3

Browse files
DOC: fix PR07 for pandas.RangeIndex (#59675)
1 parent bd7db4d commit 8566ff3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
7575
-i "pandas.Period.ordinal GL08" \
7676
-i "pandas.Period.to_timestamp SA01" \
7777
-i "pandas.PeriodDtype.freq SA01" \
78-
-i "pandas.RangeIndex PR07" \
7978
-i "pandas.RangeIndex.from_range PR01,SA01" \
8079
-i "pandas.RangeIndex.start SA01" \
8180
-i "pandas.RangeIndex.step SA01" \

pandas/core/indexes/range.py

+2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ class RangeIndex(Index):
9090
start : int (default: 0), range, or other RangeIndex instance
9191
If int and "stop" is not given, interpreted as "stop" instead.
9292
stop : int (default: 0)
93+
The end value of the range (exclusive).
9394
step : int (default: 1)
95+
The step size of the range.
9496
dtype : np.int64
9597
Unused, accepted for homogeneity with other index types.
9698
copy : bool, default False

0 commit comments

Comments
 (0)