get a row from a dataframe in python by the value of a cell code example Example: pandas get row from column value df.loc[df['column_name'] == some_value]