Identify first entry by group in pandas data frame

前端 未结 0 1820
北海茫月
北海茫月 2020-12-04 22:02

I have data like this

I wish to generate this:

How can I do this using Pandas? I know I need to group by id and order by date somehow... Thanks

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