I have a dataset including all days in 2020 where solar and wind generation is measured on a 15 basis:
01.01.2020 00:00 - 01.01.2020 00:15
How do I convert this to datatime?
I already tried this:
dftotalload2020['Time (CET/CEST)'] = pd.to_datetime(dftotalload2020['Time (CET/CEST)'], format='%d.%m.%Y %H:%M - %d.%m.%Y %H:%M')
but I get an error: error

You can't provide several times the same fields to
to_datetime, ratherextractonly one of the two date and convert to datetime:Output:
Or
splitand convert both:Output: