pandas.core.indexes.numeric code example Example: convert pandas.core.indexes.numeric.int64index to list rows = df.index.values