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