I want to count number of DataFrame rows which contains all of the values from the list.
Lets say I've got:
abc = pd.DataFrame(np.random.randint(1,100,(100, 10)))
and I've got following list (with unique values):
x = [10, 32, 8]
What is the simplest way, using pandas, to chck if row contains all given values? I could probably convert each row to list and than compare content of new list with the given list and increment my counter if comparison results with success, but I guess it is not the fastest way in this case...