code: def _rescale_e(betweenness, num_nodes, k):
      for e in betweenness:
          betweenness[e] *= num_nodes / k
  
      return betweenness
  
imports: import gc
  import pytest
  import random
  import networkx
  import numpy
  import cupy
  import cudf
  import cugraph
  from cugraph.datasets import karate_disjoint
  from cugraph.testing import utils, SMALL_DATASETS
label_desc: Use image node_id 3 for calling a global function with example usage: _rescale_e(betweenness, num_nodes, k) and returns: betweenness