I have a pandas data frame like this
variable    id Max
0   8004    5
1   8005    10
2   8006    9
3   8034    14
4   8046    3
if I check the df.columns I get
Index(['id', 'Max'], dtype='object', name='variable')
But I dont care the variable, I want to keep the information in the index but that appears as columns and delete the variable. I don't know if it is important, but I get the dataframe by pivoting another table.
 
    