how to rename columns in pandas dataframe from 0 and 1 to a name code example
Example: rename column pandas
>>> df.rename(str.lower, axis='columns')
a b
0 1 4
1 2 5
2 3 6
>>> df.rename(str.lower, axis='columns')
a b
0 1 4
1 2 5
2 3 6