code: def generate_dict_table(
      num_cols, string_size, nunique, length, random_order=True
  ):
      data = generate_dict_strings(
          string_size, nunique, length, random_order=random_order
      )
      return pa.table(
          [data for i in range(num_cols)],
          names=["f{}".format(i) for i in range(num_cols)],
      )
  
imports: import shutil
  import tempfile
  from pandas.util.testing import rands
  import numpy
  import pandas
  import pyarrow
label_desc: Use image node_id 2 for calling a global function with example usage: generate_dict_table(num_cols, string_size, nunique, length, random_order) and returns: pa