text_plain_output_3.png text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png image_output_1.png
import matplotlib.pyplot as plt

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

import seaborn as sns

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

data.isnull().sum()

plt.figure(figsize=(10, 5))
sns.countplot('Survived', data=data)