I have two lists, englishclub
and listofallclub
I have already checked that not all elements in englishclub
are in listofallclub
, but I want to find which element is missing from listofallclub
I expect the lists to be very large.
listallclub = df.Club.tolist()
result = all(elem in englishclub for elem in listallclub)
if result:
print("Yes, englishclub contains all elements in listallclub")
else :
print("No, englishclub does not contains all elements in listallclub")
I would like my outputto be the list of elements that are in englishclub
but not in listofallclub