code: def process_func(path):
      data = []
      for idx, line in enumerate(open(path)):
          fields = line.strip("\n").split(" ")
          idx = int(fields[0].split("\t")[0])
          fields[0] = fields[0].split("\t")[-1].split(";")[-1]
          value = np.array(fields, dtype=np.float16)
          data.append((idx, value))
      return data
  
file_path: PGL/examples/kddcup2021/WikiKG90M/post_smoothing/dump_npy.py
imports: import numpy
  from glob import glob
  from tqdm import tqdm
  import sys
  import argparse
  import logging
  from multiprocessing import Pool
label_desc: Use image node_id 1 for calling a global function with example usage: process_func(path) and returns: data