parameters: (self, axis=0, *args, **kwargs)
return_statement: return self._cython_transform("cumsum", **kwargs)
docstring: Cumulative sum for each group.
  
          Returns
          -------
          Series or DataFrame
docstring_summary: Cumulative sum for each group.
docstring_tokens: Cumulative sum for each group .
function: def cumsum(self, axis=0, *args, **kwargs):
          """
          Cumulative sum for each group.
  
          Returns
          -------
          Series or DataFrame
          """
          nv.validate_groupby_func("cumsum", args, kwargs, ["numeric_only", "skipna"])
          if axis != 0:
              return self.apply(lambda x: x.cumsum(axis=axis, **kwargs))
  
          return self._cython_transform("cumsum", **kwargs)
function_tokens: def cumsum ( self , axis = 0 , * args , * * kwargs ) : nv . validate_groupby_func ( "cumsum" , args , kwargs , [ "numeric_only" , "skipna" ] ) if axis != 0 : return self . apply ( lambda x : x . cumsum ( axis = axis , * * kwargs ) ) return self . _cython_transform ( "cumsum" , * * kwargs )