pandas select rows that are in list code example Example: pandas dataframe select rows not in list df[~df.isin(subset).iloc[:,0]]