f = df.groupby(['Type', 'Name'])['Type'].agg({'Frequency': 'count'})
f.sort('Frequency', ascending=False, inplace=True)
d = {k: list(f.ix[k].index) for k in f.index.levels[0]}
Create a dictionary from groupby object,Python