I am trying to read Excel that has date values in one column. They are however in 2 different formats:
03.07.2017
03.07.2017
30/06/2017
30/06/2017
30/06/2017
03.07.2017
03.07.2017
07 and 06 are month numbers.
I import excel with:
denik=pd.read_excel('obchodnidenik.xlsx',converters={'Vstup - datum':str})
However the dates are converted differently.
I get two date formats that have switched dates/months:
'30/06/2017'
'2017-03-07 00:00:00'
What is the best way to convert all values into correct datetime?