I have a list, created from a CSV file that contains dates. When trying to get the index of a date, I get the correct line (File "", line 1) but also get an error: