📅  最后修改于: 2022-03-11 14:47:01.797000             🧑  作者: Mango
df['avg'] = df.mean(axis=1)
Monday Tuesday Wednesday avg
Mike 42 NaN 12 27.000000
Jenna NaN NaN 15 15.000000
Jon 21 4 1 8.666667