Skip to content

Commit ec4c97d

Browse files
authored
DOC: inconsistent default values in the initialiser for RangeIndex (pandas-dev#62901)
1 parent c4aa512 commit ec4c97d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/indexes/range.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ class RangeIndex(Index):
8888
8989
Parameters
9090
----------
91-
start : int (default: 0), range, or other RangeIndex instance
91+
start : int, range, or other RangeIndex instance, default None
9292
If int and "stop" is not given, interpreted as "stop" instead.
93-
stop : int (default: 0)
93+
stop : int, default None
9494
The end value of the range (exclusive).
95-
step : int (default: 1)
95+
step : int, default None
9696
The step size of the range.
97-
dtype : np.int64
97+
dtype : np.int64, default None
9898
Unused, accepted for homogeneity with other index types.
9999
copy : bool, default False
100100
Unused, accepted for homogeneity with other index types.

0 commit comments

Comments
 (0)