code: def main(readcsv=pd_read_csv, method="defaultDense"):
      # read data from file
      data_path = Path(__file__).parent / "data" / "batch"
      file = data_path / "covcormoments_dense.csv"
      data = readcsv(file, range(10))
  
      # compute
      alg = d4p.low_order_moments(method=method)
      res = alg.compute(data)
  
      # result provides minimum, maximum, sum, sumSquares, sumSquaresCentered,
      # mean, secondOrderRawMoment, variance, standardDeviation, variation
      assert all(
          getattr(res, name).shape == (1, data.shape[1])
          for name in [
              "minimum",
              "maximum",
              "sum",
              "sumSquares",
              "sumSquaresCentered",
              "mean",
              "secondOrderRawMoment",
              "variance",
              "standardDeviation",
              "variation",
          ]
      )
  
      return res
  
imports: from pathlib import Path
  import numpy
  from readcsv import pd_read_csv
  import daal4py
label_desc: Use image node_id 1 for calling a global function with example usage: main(readcsv, method) and returns: res