how to get value in pandas dataframe using query code example Example: how to get value from dataframe pandas sub_df.iloc[0]