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

df = pd.read_json(open('../input/train.json', 'r'))

df.columns

num_feats = ['bathrooms', 'bedrooms', 'latitude', 'longitude', 'price', 'num_photos', 'num_features', 'num_description_words', 'created_year', 'created_month', 'created_day', 'building_id', 'price_per_bedroom', 'price_per_bathroom']
X = df[num_feats]
y = df['interest_level']
X.head()