📜  数据框总结每列有多少 - Python代码示例

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

代码示例1
In [8]: titanic[["Sex", "Age"]].groupby("Sex").mean()
Out[8]: 
              Age
Sex              
female  27.915709
male    30.726645