Primary competition visual

Loan Default Prediction Challenge

Helping Tanzania, United Republic of
Internships
Completed (over 4 years ago)
Prediction
Job Opportunity
404 joined
54 active
Starti
15 Mar 22
Closei
16 Apr 22
Reveali
16 Apr 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

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

Upvotes 0
User avatar
Kadefue

No date type on approvedate and creationdate.

Upvotes 0
User avatar

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

Upvotes 0
User avatar

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

Upvotes 0