human
Select rows from a DataFrame based on values in a column in pandas
assistant
Here is some code to select all rows whose values in a column `column_name` equals a scalar `some_value` in pandas data frame object `df`

df.loc[df['column_name'] == some_value]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.