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