select with where pandas code example Example: python dataframe select where df.loc[df['column_name'] != some_value]