text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

df = pd.read_csv('../input/house-prices-advanced-regression-techniques/train.csv')

def NanColums(df):
    percent_nan = 100 * df.isnull().sum() / len(df)
    percent_nan = percent_nan[percent_nan > 0].sort_values()
    return percent_nan
nanColums = NanColums(df)
sns.barplot(x=nanColums.index, y=nanColums)
plt.xticks(rotation=90)