code: def make_reverse_lookup(categories):
      lookup = {}
      for category in categories:
          for col in categories[category]:
              lookup[col] = str(category)
      return lookup
  
imports: from typing import TYPE_CHECKING, Any, Dict, List, Optional
  from .Engine import Engine, DataframeLike, DataframeLocalLike
  import numpy, pandas, pyarrow, sys
  from .util import setup_logger
label_desc: Use image node_id 3 for calling a global function with example usage: make_reverse_lookup(categories) and returns: lookup