image_output_1.png
import pandas as pd

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

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

train_data.shape

train_data = train_data.loc[:, train_data.isnull().sum() / len(train_data) * 100 < 60]

for a in train_data.columns:
    if len(train_data[a].unique()) == train_data.shape[0]:
        print(a)