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