code: def getName(n=1, name=3, exchange=2, columns=None, mode="abc"):
      if columns:
          if isinstance(columns, str):
              columns = [columns]
          if n != len(columns):
              raise CufflinksError(
                  "Length of column names needs to be the \n"
                  "same length of traces"
              )
      else:
          if mode is None:
              mode = get_config_file()["datagen_mode"]
          if mode == "abc":
  
              def get_abc(n):
                  def _w(n, base=2):
                      _n = 1
                      st = []
                      while base**_n <= n:
                          _n += 1
                      for _ in range(_n - 1, 0, -1):
                          n_st = n // (base**_)
                          st.append(n_st)
                          n = n - n_st * (base**_)
                      st.append(n + 1)
                      return st
  
                  st = _w(n, len(string.ascii_lowercase))
                  _st = ""
                  for _ in st:
                      _st += string.ascii_lowercase[_ - 1]
                  return _st
  
              columns = [get_abc(_) for _ in range(n)]
          elif mode == "stocks":
              columns = [
                  "".join(
                      np.random.choice(
                          list(string.ascii_uppercase), name
                      )
                  )
                  + "."
                  + "".join(
                      np.random.choice(
                          list(string.ascii_uppercase), exchange
                      )
                  )
                  for _ in range(n)
              ]
          else:
              raise CufflinksError("Unknown mode: {0}".format(mode))
      return columns
  
imports: import os
  import string
  import numpy
  import pandas
  from .auth import get_config_file
  from .exceptions import CufflinksError
label_desc: Use image node_id 19 for calling a global function with example usage: getName(n, name, exchange, columns, mode) and returns: columns, _st, st