pandas.RangeIndex.from_range
-
classmethod RangeIndex.from_range(data, name=None, dtype=None, **kwargs)
[source] -
create RangeIndex from a range (py3), or xrange (py2) object
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.RangeIndex.from_range.html