Missing data
Let's now explore different methods to handle missing data.
It's important to know different methods to deal with missing data, since you are not always allowed to drop observations from the dataset.
The dataset data
and pandas as pd
are available in your session.
Este exercício faz parte do curso
Analyzing IoT Data in Python
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Print head of the DataFrame
print(data.head())
# Drop missing rows
data_clean = ____
____