code: def expanding(self, *args, **kwargs):
          
          from pandas.core.window import ExpandingGroupby
          return ExpandingGroupby(self, *args, **kwargs)
docs: Return an expanding grouper, providing expanding
          functionality per group.