Human: Turn Pandas Multi-Index into column Assistant: 
Here is some code to reset index of dataframe `df`so that existing index values are transferred into `df`as columns

df.reset_index(inplace=True)

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