code: def _print_dict_as_table(d, digits):
      fmt = "%%.%df" % digits
      records = []
      for k, v in d.items():
          k = k.replace("_", " ")
          if isinstance(v, numbers.Integral):
              v = str(v)
          else:
              v = fmt % v
  
          records.append((k, v))
  
      print(tabulate(records, tablefmt="plain", numalign="left"))
  
imports: from copy import deepcopy
  import inspect
  import itertools
  import logging
  import numbers
  import numpy
  import sklearn.metrics
  from tabulate import tabulate
  import eta.core.utils
  import fiftyone
  import fiftyone.core.evaluation
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.plots
  import fiftyone.core.utils
  import fiftyone.core.validation
label_desc: Use image node_id 5 for calling a global function with example usage: _print_dict_as_table(d, digits) without return types