application_vnd.jupyter.stderr_output_1.png
import pandas as pd

import seaborn as sns

train = pd.read_csv('...train.csv')
test = pd.read_csv('...test.csv')

train = train.drop(train[['Cabin', 'Embarked', 'Name', 'Ticket']], axis=1)
test = test.drop(test[['Cabin', 'Embarked', 'Name', 'Ticket']], axis=1)
train.dropna(axis=0, how='any', inplace=True)

corr = train.corr()
sns.heatmap(corr, xticklabels=corr.columns.values, yticklabels=corr.columns.values)