H = datai.groupby(['WAVE'])['bmi3'].mean()
比如1991的值减去1989的值,还有我如何在均值上面加个变量名
通过索引获取值相减的
series更改名称, H.rename('均值',inplace=True)