Pandas: Mean of columns with the same names,"df = df.set_index(['id', 'name'])"