code: def parse_final_col(final_col):
      y_segs = final_col.split(CHART_JOINER_CHAR)
      if y_segs[-1] in AGGS:
          return CHART_JOINER_CHAR.join(y_segs[:-1]), y_segs[-1]
      return final_col, None
  
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 14 for calling a global function with example usage: parse_final_col(final_col) and returns: final_col,  None, CHART_JOINER_CHAR,  y_segs