pandas rename columns by position

41

df.rename(columns={ df.columns[1]: "your value" }, inplace = True)

Comments

Submit
0 Comments