image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/train.csv', encoding='ISO-8859-1', low_memory=False)

df.columns.values

sns.countplot('Sex', hue='Survived', data=df)
plt.show()