application_vnd.jupyter.stderr_output_2.png text_plain_output_1.png
import pandas as pd

df1 = pd.read_csv('../input/train.csv')
df2 = pd.read_csv('../input/test.csv')

train = df1.drop(['Ticket', 'Fare', 'Embarked', 'Cabin', 'Name'], axis=1)
test = df2.drop(['Ticket', 'Fare', 'Embarked', 'Cabin', 'Name'], axis=1)
train.head()