Python (Pandas): How do I keep the row of the highest value of a date (in strings) and delete other rows with the same “ID”;

前端 未结 0 1834
醉话见心
醉话见心 2020-12-04 13:44

Incorporating excel and pandas, I\'m looking for a solution that keep a row of the latest date and delete the rest with the same Ccode.

I.E. : In the df below, CU0080

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