Last answered:

08 May 2024

Posted on:

20 Nov 2021

0

Where did Term data missing value go?

What happened to the term data missing value ' ' as you did not assign any value to them?

1 answers ( 0 marked as helpful)
Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

08 May 2024

0

That was aactually the first thing he covered for. The code reads thus:

loan_data_strings[:, 2] = np.where(loan_data_strings[:, 2] == "", 60, loan_data_strings[:, 2])

Therefore, the missing value, `""` will now be recorded as 60 in our data.

Submit an answer