parameters: (self, axis=None, skipna=True, *args, **kwargs)
return_statement: return self._scan(
              "sum", axis=axis, skipna=skipna, cast_to_int=True, *args, **kwargs
          )
docstring: Return cumulative sum of the Series or DataFrame.
  
          Parameters
          ----------
  
          axis: {index (0), columns(1)}
              Axis for the function to be applied on.
          skipna: bool, default True
              Exclude NA/null values. If an entire row/column is NA,
              the result will be NA.
  
  
          Returns
          -------
          Series or DataFrame
  
          Examples
          --------
          **Series**
  
          >>> import cudf
          >>> ser = cudf.Series([1, 5, 2, 4, 3])
          >>> ser.cumsum()
          0    1
          1    6
          2    8
          3    12
          4    15
  
          **DataFrame**
  
          >>> import cudf
          >>> df = cudf.DataFrame({'a': [1, 2, 3, 4], 'b': [7, 8, 9, 10]})
          >>> s.cumsum()
              a   b
          0   1   7
          1   3  15
          2   6  24
          3  10  34
docstring_summary: Return cumulative sum of the Series or DataFrame.
docstring_tokens: Return cumulative sum of the Series or DataFrame .
function: def cumsum(self, axis=None, skipna=True, *args, **kwargs):
          """
          Return cumulative sum of the Series or DataFrame.
  
          Parameters
          ----------
  
          axis: {index (0), columns(1)}
              Axis for the function to be applied on.
          skipna: bool, default True
              Exclude NA/null values. If an entire row/column is NA,
              the result will be NA.
  
  
          Returns
          -------
          Series or DataFrame
  
          Examples
          --------
          **Series**
  
          >>> import cudf
          >>> ser = cudf.Series([1, 5, 2, 4, 3])
          >>> ser.cumsum()
          0    1
          1    6
          2    8
          3    12
          4    15
  
          **DataFrame**
  
          >>> import cudf
          >>> df = cudf.DataFrame({'a': [1, 2, 3, 4], 'b': [7, 8, 9, 10]})
          >>> s.cumsum()
              a   b
          0   1   7
          1   3  15
          2   6  24
          3  10  34
          """
          return self._scan(
              "sum", axis=axis, skipna=skipna, cast_to_int=True, *args, **kwargs
          )
function_tokens: def cumsum ( self , axis = None , skipna = True , * args , * * kwargs ) : return self . _scan ( "sum" , axis = axis , skipna = skipna , cast_to_int = True , * args , * * kwargs )