code: def normalize_col_names(input_types):
      """Fixes unusual column names (e.g. Caps, Spaces)
      to make them suitable printing into code templates.
  
      # Arguments:
          input_types: dict of col names: input types
  
      # Returns:
          A dict of col names: input types with normalized keys
      """
  
      pattern = re.compile("\W+")
      fields = [
          (re.sub(pattern, "_", field.lower()), field, field_type)
          for field, field_type in input_types.items()
      ]
  
      return fields
  
imports: import re
  import pandas
  import random
  import yaml
  import os
  import shutil
  from time import time
  from pkg_resources import resource_filename
  from tqdm import tqdm, tqdm_notebook
  from tqdm._utils import _term_move_up
  from subprocess import Popen, PIPE, DEVNULL, CalledProcessError
  from autopep8 import fix_code
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: normalize_col_names(input_types) and returns: fields