image_output_1.png
import pandas as pd

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

train.shape

train.nunique()

test.shape

train.nunique()

print('TRAIN DATASET')
print(train.isnull().sum() / len(train) * 100)
print('=' * 40)
print('TEST DATASET')
print(test.isnull().sum() / len(test) * 100)