code: def get_column_name(
      name,
      study=None,
      str=None,
      period=None,
      column=None,
      period_dict=None,
  ):
      if str:
          if period_dict:
              if name in period_dict:
                  period = period_dict[name]
          study = "" if name.lower() == study.lower() else study
          return str.format(
              study=study, period=period, column=column, name=name
          )
      else:
          return name
  
imports: import pandas
  import numpy
  from plotly.graph_objs import Figure
  from .utils import make_list
label_desc: Use image node_id 2 for calling a global function with example usage: get_column_name(name, study, str, period, column, period_dict) and returns: str, name