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

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

train_data = pd.read_json('../input/train.json')
display_count = 3
target = 'interest_level'

train_data.iloc[0]

uniq_interest_levels = list(train_data[target].unique())
interest_level_groups = train_data.groupby(target)
uniq_interest_levels