select rows from a dataframe based on values in a column in pandas,df.loc[~df['column_name'].isin(some_values)]