code: def datetime_generator(dtype, size, min_bound=None, max_bound=None):
      """
      Generator for datetime data
      """
      if min_bound is not None and max_bound is not None:
          low, high = min_bound, max_bound
      else:
          iinfo = np.iinfo("int64")
          low, high = iinfo.min + 1, iinfo.max
  
      return lambda: np.random.randint(
          low=np.datetime64(low, "ns").astype(dtype).astype("int"),
          high=np.datetime64(high, "ns").astype(dtype).astype("int"),
          size=size,
      )
  
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 8 for calling a global function with example usage: datetime_generator(dtype, size, min_bound, max_bound) and returns: function