groupby pandas get by group code example
Example 1: pandas get group
gp.get_group(key)
Example 2: pandas groupby
data.groupby('month', as_index=False).agg({"duration": "sum"})
gp.get_group(key)
data.groupby('month', as_index=False).agg({"duration": "sum"})