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