text_plain_output_1.png
from subprocess import check_output

from subprocess import check_output

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

import numpy as np
import pandas as pd
from subprocess import check_output
from subprocess import check_output
directory = '../input/'
train = pd.read_csv(directory + 'train.csv')
test = pd.read_csv(directory + 'test.csv')
numeric_feats = [x for x in train.columns[1:-1] if 'cont' in x]
categorical_feats = [x for x in train.columns[1:-1] if 'cat' in x]
catwithdummies = pd.get_dummies(train)

catwithdummies = pd.get_dummies(categorical_feats)
print(categorical_feats)