diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 2f95367266a36..6bf5f8e97a8a9 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -77,7 +77,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Period.to_timestamp SA01" \ -i "pandas.PeriodDtype SA01" \ -i "pandas.PeriodDtype.freq SA01" \ - -i "pandas.RangeIndex PR07" \ -i "pandas.RangeIndex.from_range PR01,SA01" \ -i "pandas.RangeIndex.start SA01" \ -i "pandas.RangeIndex.step SA01" \ diff --git a/pandas/core/indexes/range.py b/pandas/core/indexes/range.py index ce9e639656acb..b11ce6bd7b919 100644 --- a/pandas/core/indexes/range.py +++ b/pandas/core/indexes/range.py @@ -90,7 +90,9 @@ class RangeIndex(Index): start : int (default: 0), range, or other RangeIndex instance If int and "stop" is not given, interpreted as "stop" instead. stop : int (default: 0) + The end value of the range (exclusive). step : int (default: 1) + The step size of the range. dtype : np.int64 Unused, accepted for homogeneity with other index types. copy : bool, default False