IniziaInizia gratis

The hunt for missing values

Questions about processing missing values are integral to any machine learning interview. If you are provided with a dataset with missing values, not addressing them will likely skew your results and lower your model's accuracy.

In this exercise, you'll practice the first pre-processing step by finding and exploring ways to handle missing values using pandas and numpy on a customer loan dataset.

The dataset, which you'll use for many of the exercises in this course, is saved to your workspace as loan_data.

This is where you are in the pipeline:

Machine learning pipeline

Questo esercizio fa parte del corso

Practicing Machine Learning Interview Questions in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Import modules
import numpy as np
import pandas as pd

# Print missing values
print(____.____().____())
Modifica ed esegui il codice