how to access pandas groupby dataframe by key,df.loc[gb.groups['foo']]