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

train_df = pd.read_csv('/kaggle/input/titanic/train.csv')
test_df = pd.read_csv('/kaggle/input/titanic/test.csv')
test_PassengerId = pd.read_csv('/kaggle/input/titanic/gender_submission.csv')

train_df.columns

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