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