DataFrame merangkum berapa banyak di setiap kolom

In [8]: titanic[["Sex", "Age"]].groupby("Sex").mean()
Out[8]: 
              Age
Sex              
female  27.915709
male    30.726645
Tough Tuatara