text_plain_output_1.png
import pandas as pd

train_df = pd.read_csv('../input/train.csv')
test_df = pd.read_csv('../input/test.csv')

print(train_df[['Title', 'Survived']].groupby(['Title'], as_index=False).mean())