get rows from df with specific value in column python code example Example: pandas get row from column value df.loc[df['column_name'] == some_value]