pandas get value on a column knowing value code example Example: how to get value from dataframe pandas sub_df.iloc[0]