how to get values of a column in pandas code example Example: how to get value from dataframe pandas sub_df.iloc[0]