I have a data frame that looks like this
beginDate endDate rating id 1 2019-11-05 2020-03-24 2 2 2020-03-24 2