I created this table using pandas\' groupby function and want to extract each column as vector/array df_duration_means = df.groupby(\'Duration\').mean()
df_duration_means = df.groupby(\'Duration\').mean()