text_html_output_1.png
import pandas as pd

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

data_x = train.loc[:, [col for col in train.columns if col not in ['Survived']]]
data_y = train.loc[:, ['Survived']]
test_x = test.loc[:, [col for col in train.columns if col not in ['Survived']]]

data_x.info()