image_output_11.png image_output_5.png image_output_7.png image_output_4.png image_output_8.png image_output_6.png image_output_3.png image_output_2.png image_output_1.png image_output_10.png image_output_9.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

train_data = pd.read_csv('../input/tabular-playground-series-mar-2021/train.csv')
test_data = pd.read_csv('../input/tabular-playground-series-mar-2021/test.csv')

all_data = pd.concat([train_data, test_data])
all_data

train_data.shape

all_data.drop('id', axis=1, inplace=True)
train_data.drop('id', axis=1, inplace=True)
test_data.drop('id', axis=1, inplace=True)

train_data.isnull().sum()

corr_matrix = train_data.corr()

corr_matrix[corr_matrix > 0.8][corr_matrix != 1].fillna('OK')