text_plain_output_1.png
import pandas as pd

test_df = pd.read_csv('/kaggle/input/titanic/test.csv')
train_df = pd.read_csv('/kaggle/input/titanic/train.csv')
test_passengerId = test_df['PassengerId']

category2 = ['Cabin', 'Name', 'Ticket']
for c in category2:
    print('{} \n'.format(train_df[c].value_counts()))