code: def _compress_array(a, length):
      tmp = cudf.DataFrame()
  
      if length > 0:
          tmp_a = [None] * length
  
          for i in range(length):
              tmp_a[i] = a[i]
  
          tmp = cudf.concat(tmp_a)
  
      return tmp
  
imports: import cudf
  import cugraph
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: _compress_array(a, length) and returns: tmp