FInd the days lag and replace 0 with last day lag pandas

前端 未结 0 1874
礼貌的吻别
礼貌的吻别 2020-12-31 13:54

I have a df containing employee , worked_days and sold columns Some employee sold only for first day and after eight days sold another

My data look like this



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