📜  平均所有行 pandas - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:11.835000             🧑  作者: Mango

代码示例1
df.mean(axis=0)#average for each column
df.mean(axis=1)#average for each row