pandas.RangeIndex.start#
- property RangeIndex.start[source]#
The value of the start parameter (
0
if this was not supplied).This property returns the starting value of the RangeIndex. If the start value is not explicitly provided during the creation of the RangeIndex, it defaults to 0.
See also
RangeIndex
Immutable index implementing a range-based index.
RangeIndex.stop
Returns the stop value of the RangeIndex.
RangeIndex.step
Returns the step value of the RangeIndex.
Examples
>>> idx = pd.RangeIndex(5) >>> idx.start 0
>>> idx = pd.RangeIndex(2, -10, -3) >>> idx.start 2