I have a data frame with a lot of timedata looking like this:
01-08-2018 14:02:03
I have converted it to datetime using this code:
df["Date"]=pd.to_datetime((df["Date"]))
and it gives me this: 2018-01-08 14:02:03
At first glance it looks fine, but it has mistaken days for months. So my question is how do i tell python that days is days and month is months?
I hope some of you can help me