list(df.index.values) # this will always work in pandas
df.index.values.tolist() # an ndarray method, you probably shouldn't depend on this