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