application_vnd.jupyter.stderr_output_1.png
import pandas as pd

train = pd.read_csv('C:/Users/Peng/Documents/APS/Data-Analysis-Blog/Kaggle/Titanic/train.csv')
test = pd.read_csv('C:/Users/Peng/Documents/APS/Data-Analysis-Blog/Kaggle/Titanic/test.csv')
gender_submission = pd.read_csv('C:/Users/Peng/Documents/APS/Data-Analysis-Blog/Kaggle/Titanic/gender_submission.csv')

(train.shape, test.shape)

train['Sex'].value_counts().plot(kind='bar')