<class 'pandas.core.frame.DataFrame'> <class 'pandas.core.indexes.numeric.Int64Index'> code example Example: convert pandas.core.indexes.numeric.int64index to list rows = df.index.values