text_plain_output_1.png
import pandas as pd

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

df = pd.concat([train, test], axis=0).reset_index(drop=True)

df = df.drop(['PassengerId', 'Survived', 'Name', 'Ticket', 'Cabin'], axis=1)

df.isnull().sum().sort_values(ascending=False) * 100 / df.shape[0]

df.isnull().sum()