text_html_output_1.png
import pandas as pd

train = pd.read_csv('../input/train.csv', index_col=0)
test = pd.read_csv('../input/test.csv', index_col=0)

train = train[train['GrLivArea'] < 4000]

labels = train['SalePrice']
train = train.drop('SalePrice', axis=1)

all_data = pd.concat([train, test])

nums = all_data.select_dtypes(exclude=['object']).columns
cat = all_data.select_dtypes(include=['object']).columns

for c in cat:
    if all_data[c].isnull().values.sum() > 0:
        print(c, all_data[c].isnull().sum())