application_vnd.jupyter.stderr_output_1.png
import numpy as np

import pandas as pd

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
pd.pandas.set_option('display.max_columns', None)

data = pd.read_csv('houseprice.csv')

vars_with_na = [var for var in data.columns if data[var].isnull().sum() > 1]
for var in vars_with_na:
    print(var, np.round(data[var].isnull().mean(), 3), ' % missing values')