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]

num_vars = [var for var in data.columns if data[var].dtypes != 'O']

year_vars = [var for var in num_vars if 'Yr' in var or 'Year' in var]
year_vars

for var in year_vars:
    print(var, data[var].unique())
    print()