HomePython Pandas-1 Which function would you use to rename the index/column names in a dataframe? 0 Comments Facebook Twitter Q. Which function would you use to rename the index/column names in a dataframe?Answer =By using df.rename()df.rename(index={“old row name”:”new row name ”})
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )