I have a dataframe below:
Code First End 0 A2M 31/03/2018 29/09/2020 1 AAN 31/03/2007 29/06/2007 2 AAP 31/12/1999 29/09/2000