I am using a for loop to convert all the date in the dataframe to datetime. But since one of the date is in leap year it is giving the error.
DeciYear = [] f