pandas groupby a column, then get average number of days from a date column for each group

后端 未结 0 2015
滥情空心
滥情空心 2020-11-21 13:24

I have a pandas datafame like this:

    customer_id    transaction_date   ......................
 0    12341          2011-05-06
 1    12341          2011-06-         


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