subset.isin(myList)
subset[subset.isin(myList)]
subset[subset.isin(myList)].stack()
subset[subset.isin(myList)].stack().duplicated()
subset[subset.isin(myList)].stack().duplicated().unstack()
subset[subset.isin(myList)].stack().duplicated().unstack().any(1)
How to filter rows based on the sequence-related constraint?