image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

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

import seaborn as sns

train = pd.read_csv('/kaggle/input/tabular-playground-series-sep-2021/train.csv')
test = pd.read_csv('/kaggle/input/tabular-playground-series-sep-2021/test.csv')
sub = pd.read_csv('/kaggle/input/tabular-playground-series-sep-2021/sample_solution.csv')

train_original = train.copy()
test_original = test.copy()

train.drop('id', axis=1, inplace=True)
test.drop('id', axis=1, inplace=True)

train.columns

features = list(train.columns)
list(enumerate(features))

train.isnull().sum()

train.isnull().sum().plot(kind='bar', figsize=(25, 15))