pandas get value from first row code example
Example 1: pandas get row from column value
df.loc[df['column_name'] == some_value]
Example 2: pandas return first row
df_test.iloc[0]
or
df_test['someColumnName'].iloc[0]
df.loc[df['column_name'] == some_value]
df_test.iloc[0]
or
df_test['someColumnName'].iloc[0]