Group by and sort Dataframe then subsequently find first occurrence based on criteria

后端 未结 0 648
南旧
南旧 2020-12-29 09:55

I have the following DataFrame, and I\'m trying to find for each customer, when the first date (in ascending order) does the flag column = Y

df = {
  "cu         


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