You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
temp=collections.Counter(temp). #converts the list 'temp' to dictionary having keys as the element of the list and values as the occurence of the elements in the list
res=[item for item, count in temp.items() if count > len(num_list)-1] #retrieving the keys with maximum values