pandas.RangeIndex.start — pandas 3.0.0.dev0+2107.g341f1612a9 documentation (original) (raw)
- API reference
- Index objects
- pandas.RangeIndex
- 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 startvalue is not explicitly provided during the creation of the RangeIndex, it defaults to 0.
See also
Immutable index implementing a range-based index.
Returns the stop value of the RangeIndex.
Returns the step value of the RangeIndex.
Examples
idx = pd.RangeIndex(5) idx.start 0
idx = pd.RangeIndex(2, -10, -3) idx.start 2