text_plain_output_1.png
import pandas as pd

train = pd.read_csv('../input/sales_train.csv')

train.columns.values

shops_train = train.groupby(['shop_id']).groups.keys()
len(shops_train)

item_train = train.groupby(['item_id']).groups.keys()
len(item_train)