pandas.RangeIndex.start — pandas 3.0.0.dev0+2107.g341f1612a9 documentation (original) (raw)

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

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