python dataframe rename first column

37

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

Comments

Submit
0 Comments