text_plain_output_1.png
import os

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv

import os
os.listdir('../input')
train = pd.read_csv('../input/train.csv')
test = pd.read_csv('../input/test.csv')

train.isnull().sum()

test.isnull().sum()

train_df = train.drop(['Cabin', 'Ticket'], axis=1)
test_df = test.drop(['Cabin', 'Ticket'], axis=1)
print(train_df.shape)
print(test_df.shape)