code: def str_joiner(vals, join_char="|"):
      return join_char.join(vals)
  
imports: import pandas
  from scipy import stats
  import dtale.global_state
  import dtale.pandas_util
  from dtale.query import run_query
  from dtale.utils import make_list
label_desc: Use image node_id 2 for calling a global function with example usage: str_joiner(vals, join_char) and returns: join_char