I groupby a dataframe and ran into the following error:
groupby
dataframe
if key in group.groups: group.get_group(key)
I test wh