On this page
pandas.RangeIndex.from_range
- classmethodRangeIndex.from_range(data, name=None, dtype=None)[source]
-
Create RangeIndex from a range object.
- Returns
-
- RangeIndex
© 2008–2022, 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/1.5.0/reference/api/pandas.RangeIndex.from_range.html