text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
plt.rcParams['figure.figsize'] = (12, 10)

df_train = pd.read_csv('../input/train.csv')
df_train['dataset'] = 'train'
df_test = pd.read_csv('../input/test.csv')
df_test['dataset'] = 'test'
df = pd.concat([df_train, df_test], sort=True)

df_train.nunique().min()

num_features = df_train.select_dtypes(['float64', 'int64']).columns.tolist()
cat_features = df_train.select_dtypes(['object']).columns.tolist()

corrplot = sns.heatmap(df_train.corr(), cmap=plt.cm.Reds, annot=True)