intent: Select rows from a DataFrame based on values in a column in pandas
rewritten_intent: select all rows whose values in a column `column_name` equals a scalar `some_value` in pandas data frame object `df`
snippet: df.loc[df['column_name'] == some_value]