Let\'s say I have a dataframe, and after some operations I arrive at an intermediate series:
>>> df.groupby(...).some_operation() 1 1 3 2 5 1 7