Primary competition visual

Uber Movement SANRAL Cape Town Challenge

Helping South Africa
$5 500 USD
Completed (~6 years ago)
Prediction
Anomaly Detection
Forecast
859 joined
133 active
Starti
Oct 11, 19
Closei
Feb 09, 20
Reveali
Feb 10, 20
Occurance Local Date
Data · 1 Feb 2020, 13:24 · 3

BE CAREFUL with this feature Occurance Local Date especially when converting to python DateTime datatype

Discussion 3 answers

Can you please elaborate?

1 Feb 2020, 14:54
Upvotes 0

data['Occurrence Local Date Time']=pd.to_datetime(data['Occurrence Local Date Time'],dayfirst=True ) When converting the Occurance Date Time to datetime, Make sure you make dayFirst=True. If you don't do so, pandas would assume that the first digit of your date is a month.

I think you should update your Pandas version :D

2 Feb 2020, 20:47
Upvotes 0