code: def create_directory_with_overwrite(directory):
      """
      Creates the given directory.  If it already exists, the
      existing directory is recursively deleted first.
      """
      if os.path.exists(directory):
          shutil.rmtree(directory)
      os.makedirs(directory)
  
imports: import importlib
  import os
  import shutil
  from numba import cuda
  import cudf
  from cudf.core.column import as_column
  from cuda.cudart import cudaDeviceAttr
  from rmm._cuda.gpu import getDeviceAttribute
label_desc: Use image node_id 18 for calling a global function with example usage: create_directory_with_overwrite(directory) without return types