python dataframe get 1 value of row code example Example: pandas get row from column value df.loc[df['column_name'] == some_value]