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