text_html_output_1.png
import pandas as pd

train = pd.read_csv('../input/30-days-of-ml/train.csv')
train

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

na_count = pd.Series([train[col].isna().sum() for col in train.columns], index=train.columns, name='NA Count')
na_count

y = train['target']
X = train.drop('target', axis=1)

X