How do I use df.add_suffix to add suffixes to duplicate column names in Pandas?

前端 未结 0 382
予麋鹿
予麋鹿 2020-12-20 21:17

I have a large dataframe with 400 columns. 200 of the column names are duplicates of the first 200. How can I used df.add_suffix to add a suffix only to the duplicate column

相关标签:
回答
  • 消灭零回复
提交回复
热议问题