code: def simplify_event(name):
      """Simplifies an event predictor name.
  
      Eliminates the levels and unnecessary characters in an event predictor's name.
      If the original name is
      "C(Q('events_Chinese New Year_minus_1'), levels=['', 'event'])[T.event]",
      it will be simplified to "events_Chinese New Year-1".
      If ``cst.EVENT_PREFIX`` is not in the name, the original name will be returned.
  
      Parameters
      ----------
      name : `str`
          The predictor name.
  
      Returns
      -------
      simplified_name : `str`
          The simplified name.
      """
      if cst.EVENT_PREFIX in name:
          result = re.search(rf"\('({cst.EVENT_PREFIX}.*)'\),", name)
          if result is not None:
              name = result.group(1)
              name = name.replace("_minus_", "-")
              name = name.replace("_plus_", "+")
      return name
  
file_path: greykite/greykite/algo/common/col_name_utils.py
imports: import re
  from greykite.common import constants
label_desc: Use image node_id 1 for calling a global function with example usage: simplify_event(name) and returns: name