I am getting the error:
time data '1/1/03 0:00' does not match format '%m/%d/%Y %H:%M' (match)
Does this format not match..? I am new to working with Date-Time formats so this is rather confusing to me.
This is the line of code I am using:
date_time = pd.to_datetime(df['time'], format='%m/%d/%Y %H:%M')
Note that the csv file, 'df' that is being used has 1 column named "time", hence I am getting all possible values of it with df['time'].
I should comment that this is:
12/31/16 23:00
is another entry, so I know that it goes month/day/year, is it because the year is only two digits?