class_docstr: EPGM class with converter methods to edgelist, adjacency matrix, etc.
class_docstr_tok: ["EPGM","class","with","converter","methods","to","edgelist",",","adjacency","matrix",",","etc","."]
docstr: Display progress of a loop, e.g., list or dict comprehension statement
docstr_tok: ["Display","progress","of","a","loop",",","e.g.",",","list","or","dict","comprehension","statement"]
code: def _progress(self, item_name, n, step, arg, i):
      """Display progress of a loop, e.g., list or dict comprehension statement"""
      if (i + 1) % step == 0:
          print(
              "{}> {} {} out of {} processed ({}%)".format(
                  "-" * int((i / n) * 80),
                  item_name,
                  i + 1,
                  n,
                  round((i + 1) / n * 100, 1),
              )
          )
      return arg
  
imports: from collections import OrderedDict
  import networkx
  from networkx.readwrite import json_graph
  import os
  import json
  import uuid
  import numpy
  import scipy.sparse
  import multiprocessing
  from multiprocessing import Pool
  from functools import partial
  from time import sleep
label_desc: Use image node_id 1 for calling the EPGM obj's underlying member method code with example usage: obj._progress(item_name, n, step, arg, i) and returns: arg