.
containing missing data. We can do so using the pandas DataFrame method dropna. Checking out the shape of the resulting data frame, though, we see that we now have only approximately half the rows left! We’ve lost half of our data and this is unacceptable. If only a few rows contain missing values,