Primary competition visual

Loan Default Prediction Challenge

Helping Tanzania, United Republic of
Internships
Challenge completed over 3 years ago
Prediction
Job Opportunity
356 joined
54 active
Starti
Mar 15, 22
Closei
Apr 16, 22
Reveali
Apr 16, 22
User avatar
Kadefue
Electronics and Precision Agriculture Lab
Testperf.csv
Data · 22 Mar 2022, 07:29 · 4

The dates in this file have problems. Please rectify

Discussion 4 answers
User avatar
University of dar es salaam

Which date column has a problem, and what is the problem about?

22 Mar 2022, 19:17
Upvotes 0
User avatar
Kadefue
Electronics and Precision Agriculture Lab

No date type on approvedate and creationdate.

User avatar
University of dar es salaam

Yes, but after importing the files, you have to change approvedate and creationdate columns to date datatype

train[approvedate] = pd.to_datetime(train[approvedate], errors='coerce') # fill NaN for bad data

OR

train[approvedate] = pd.to_datetime(train[approvedate], errors='ignore') # fill the original input for bad data

I hope this will work

Did anyone come right with the date type on date columns (approvedate and creationdate)? it is incorrect in the file.

28 Mar 2022, 17:56
Upvotes 0