I am working with DataFrame which contains multiple datetime formats in one column. For example:
2020-11-09 00:00:48
2020-11-09 00:00:48
2020-11-09 00:00:48
2020-11-09 00:00:48
2020-11-09 00:00:48
2020-08-25
2020-08-25
2017-08-25
2018-08-25
2020-08-25
25.08.2020
25.08.2020
25.08.2017
25.08.2018
25.08.2020
I want to convert it into "dd.mm.yyyy" format.
pd.to_datetime(columnName, format = "dd.mm.yyyy")
does not help.