How to drop rows (or subset other rows) based on values in lists in pandas? Create mutually exclusive subsets of dfs
How to drop rows (or subset other rows) based on values in lists in pandas? Create mutually exclusive subsets of dfs Question: How to drop rows which have at least 1 element from both the lists? Looking for something iterative over more than 100 columns. Minimal example with 3 columns is: list1 = ["abc1", "def"] …