Is there a Python equivalent of R way of finding last non-NA date in prior week

前端 未结 0 872
感动是毒
感动是毒 2021-01-16 19:24

My sample dataset looks like as below:

txn_time = pd.DataFrame({\'ID\':[1,1,1,1,1,2,2,3,3],
                       \'Start_Date\':[\'2017-08-25\',\'2017-08-25         


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