text_html_output_1.png
from sklearn import preprocessing

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

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

from sklearn import preprocessing
le = preprocessing.LabelEncoder()
le.fit(df['building_id'])