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

train = pd.read_csv('/kaggle/input/30-days-of-ml/train.csv', index_col='id')
test = pd.read_csv('/kaggle/input/30-days-of-ml/test.csv', index_col='id')

missing_train = train.isna().sum().sum() + train.isnull().sum().sum()
missing_test = test.isna().sum().sum() + test.isnull().sum().sum()
print('Missing values - train data: {}'.format(missing_train))
print('Missing values - test data: {}'.format(missing_test))