text_plain_output_1.png
import pandas as pd

df = pd.read_csv('../input/train.csv', index_col='PassengerId')

df.dropna().describe()

ages_mean = df.pivot_table('Age', index=['Title'], columns=['Sex', 'Pclass'], aggfunc='mean')
ages_mean