I read a file into a pandas dataframe with dates that vary in their format:
either the American:
YYYY-MM-DDor the European:
DD.MM.YYYY
They come as a string. I would like to format them all as a date object so pandas.Series.dt can work with them and ideally have them in the second format (DD.MM.YYYY).
pandas.Series.dt gets confuesed with the two different spellings in one column.