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

train_df = pd.read_csv('../input/train.csv')
train_df['Test'] = False
test_df = pd.read_csv('../input/test.csv')
test_df['Test'] = True
df = pd.concat([train_df, test_df], sort=False)

corr = abs(train_df.corr())
price_corr = corr['SalePrice'].sort_values()
columns = list(price_corr[price_corr > 0.4].index)
columns.append('Test')
columns.append('Id')
df[columns].head()