text_html_output_1.png
import pandas as pd

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

raw_data = pd.read_csv('/kaggle/input/titanic/train.csv')
raw_test = pd.read_csv('/kaggle/input/titanic/test.csv')

train_copy = raw_data.copy()
train_copy.set_index('PassengerId', inplace=True, drop=True)
test_copy = raw_test.copy()
test_copy.set_index('PassengerId', inplace=True, drop=True)

train_copy.isnull().sum()