text_plain_output_2.png text_plain_output_1.png
train = pd.read_csv(dirname + '/train.csv')
test = pd.read_csv(dirname + '/test.csv')
pid_test = test['PassengerId']

print('<< % of missing data >>')
pct_missing = round(train.isnull().sum() / train.isnull().count() * 100, 1)
pct_missing.sort_values(ascending=False).head()