Pandas: transforming the DataFrameGroupBy object to desired format,"df.columns = ['code/colour', 'id:amount']"