"pandas - add a column with value based on exisitng one (bins, qcut)",df.groupby('binned_a').describe().unstack()