- API reference
- pandas.RangeIndex
- pandas.Range...
pandas.RangeIndex.step#
- propertyRangeIndex.step[source]#
The value of thestep parameter (
1if this was not supplied).Examples
>>>idx=pd.RangeIndex(5)>>>idx.step1
>>>idx=pd.RangeIndex(2,-10,-3)>>>idx.step-3
Even if
pandas.RangeIndexis empty,stepis still1ifnot supplied.>>>idx=pd.RangeIndex(1,0)>>>idx.step1
On this page