code: def iterate_paths(
      predict_function,
      data_sample,
      new_observation,
      variable_groups,
      p,
      b,
      rng,
  ):
      random_path = rng.choice(np.arange(p), p, replace=False)
      return get_single_random_path(
          predict_function,
          data_sample,
          new_observation,
          variable_groups,
          random_path,
          b,
      )
  
file_path: DALEX/python/dalex/dalex/aspect/_predict_aspect_importance/utils.py
imports: import numpy
  import pandas
  from copy import deepcopy
  import multiprocessing
  from dalex import _global_checks
label_desc: Use image node_id 4 for calling a global function with example usage: iterate_paths(predict_function, data_sample, new_observation, variable_groups, p, b, rng) and returns: get_single_random_path