code: def asarray(typecode, data):
      tobytes = lambda s: memoryview(s).tobytes()
      frombytes = array.array.frombytes
      a = array.array(typecode, [])
      frombytes(a, tobytes(data))
      return a
  
imports: from mpi4py import MPI
  import mpiunittest
label_desc: Use image node_id 1 for calling a global function with example usage: asarray(typecode, data) and returns: a