code: def weekday_tick_handler(col_data, col):
      """
      Output handler for datetime data which needs to be returned as weekdays.  If the column definition ends with '|WD'
      then the integer values in 'data' will be mapped to their standard weekday test (Mon, Tues, Wed, Thur, Fri, Sat,
      Sun)
  
      :param col_data: iterable of values within column
      :type col_data: list
      :param col: column definition
      :type col: str
      :return: formatted column data
      :rtype: list
      """
      if col.endswith("|WD"):
          return [WEEKDAY_MAP[d] for d in col_data]
      return col_data
  
imports: import copy
  import numpy
  import pandas
  import dtale.global_state
  import dtale.pandas_util
  from dtale.column_analysis import handle_cleaners
  from dtale.constants import CHART_JOINER_CHAR
  from dtale.query import build_col_key, run_query
  from dtale.utils import ChartBuildingError, build_formatters, classify_type, find_dtype, find_dtype_formatter, flatten_lists, get_dtypes, json_int, make_list, triple_quote
label_desc: Use image node_id 17 for calling a global function with example usage: weekday_tick_handler(col_data, col) and returns: col_data, unknown