Pandas df machen Set Indexspalte
df.reset_index(inplace=True)
df = df.rename(columns = {'index':'new column name'})
Important Impala
df.reset_index(inplace=True)
df = df.rename(columns = {'index':'new column name'})