human
use a list of values to select rows from a pandas dataframe
assistant
Here is some code to use a list of values `[3,6]` to select rows from a pandas dataframe `df`'s column 'A'

df[df['A'].isin([3, 6])]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.