Check condition for the DataFrame within 2 years time in Python

前端 未结 0 1967
日久生厌
日久生厌 2021-02-01 17:43

I have a dataframe as below. I need an extra column to check if each client has had default = 1 in the past 2 years. For the following customer with ID = 1, for the first 4 rows

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