python dataframe rename first column

42

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

Comments

Submit
0 Comments