human
Python Pandas: How to get the row names from index of a dataframe?
assistant
Here is some code to get a list of the row names from index of a pandas data frame

list(df.index)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.