January 2019
Beginner to intermediate
336 pages
7h 58m
English
Let's start by analyzing variables with missing values. Set the options in pandas to view all rows and columns, as shown in the previous section:
# Check which variables have missing valuescolumns_with_missing_values = housepricesdata.columns[housepricesdata.isnull().any()]housepricesdata[columns_with_missing_values].isnull().sum()
This will produce the following output:

import numpy as npimport ...