human
Select rows from a DataFrame based on values in a column in pandas
assistant
Here is some code to select rows from a dataframe `df` whose value for column `column_name` is not in `some_values`

df.loc[~df['column_name'].isin(some_values)]

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