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.