code: def cumsum(x: List[int]) -> List[int]:
      results = []
      j = 0
      for i in range(0, len(x)):
          j += x[i]
          results.append(j)
      return results
  
file_path: ludwig/ludwig/utils/math_utils.py
imports: import math
  from typing import List
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: cumsum(x) and returns: results