application_vnd.jupyter.stderr_output_1.png
import pandas as pd

train_set = pd.read_csv('train.csv')
test_set = pd.read_csv('test.csv')

train_set[(train_set['Pclass'] == 1) & (train_set['Embarked'] == 'Q')]['Sex'].value_counts()