code: def get_replacement_value_as_str(cfg, prop, series):
      value = (cfg or {}).get(prop) or "nan"
      return get_inner_replacement_value_as_str(value, series)
  
imports: import re
  import numpy
  import pandas
  from six import string_types
  import dtale.global_state
  from dtale.column_builders import ReplaceColumnBuilder
  from dtale.utils import classify_type, find_dtype, dict_merge
label_desc: Use image node_id 4 for calling a global function with example usage: get_replacement_value_as_str(cfg, prop, series) and returns: get_inner_replacement_value_as_str