I have a Dataframe like this
df:
   X  Y  Z
0  1  0  0
1  0  1  0
2  0  0  1
If I want to rename the columns with a string and number in the range(0, 3) like this
df:
  new_0  new_1  new_2
0     1      0      0
1     0      1      0
2     0      0      1
What can I do?
Actually, in my case I have about 73 columns which should be renamed, so I think that I can not just rename each column one by one.
Thanks~
 
     
    