I have a dataframe that looks like this
id | date | year| cohort 17482| 2017-01-01| 2017| tier 1 17482| 2018-01-01| 2018| tier 2 17483| 2017-01-01| 20