image_output_1.png
import pandas as pd

data_train = pd.read_csv('../input/train.csv')
data_test = pd.read_csv('../input/test.csv')
data_train.sample(5)

data_train.sample(5)

train_x = data_train[['Pclass', 'Sex', 'Family_Size']]
train_x.sample(5)