Select rows from a DataFrame based on values in a column in pandas,df.loc[df['column_name'] == some_value]