code: def list_generator(dtype, size, nesting_depth, lists_max_length):
      """
      Generator for list data
      """
      return lambda: get_nested_lists(
          dtype=dtype,
          size=size,
          nesting_depth=nesting_depth,
          lists_max_length=lists_max_length,
      )
  
imports: import copy
  import random
  import string
  import uuid
  from multiprocessing import Pool
  import numpy
  import pandas
  import pyarrow
  from pyarrow import parquet
  import cudf
  from cudf.utils.dtypes import np_to_pa_dtype
label_desc: Use image node_id 17 for calling a global function with example usage: list_generator(dtype, size, nesting_depth, lists_max_length) and returns: function