import pandas as pd
def deleteDuplicatedElementFromList(listA):
#return list(set(listA))
return sorted(set(listA), key = listA.index)
df_test = pd.read_csv('./data/subImage_x40/testlist.csv')
patientIdlist = deleteDuplicatedElementFromList(list(df_test['patientId']))
#for idx in range(0,len(patientIdlist)):
for idx in range(1,2):
print(patientIdlist[idx])
t = df_test[df_test['patientId'].isin([patientIdlist[idx]])]