select row based on values in list pandas code example Example: pandas row where value in list df[df['A'].isin([3, 6])]