text_html_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data = pd.read_csv('../input/titanic/train.csv')

data.isnull().sum()

data.groupby(['Sex', 'Survived'])['Survived'].count()