code: def _make_unique(list_of_names):
      if len(set(list_of_names)) == len(list_of_names):
          return list_of_names
      # pandas does not like it if multiple columns have the same names
      from collections import defaultdict
  
      name_counter = defaultdict(str)
      header = []
      for _name in list_of_names:
          name_counter[_name] += "I"
          header.append(_name + " " + name_counter[_name])
      return header
  
imports: from statsmodels.compat.pandas import FUTURE_STACK
  from statsmodels.compat.python import lzip
  import datetime
  from functools import reduce
  import re
  import textwrap
  import numpy
  import pandas
  from .table import SimpleTable
  from .tableformatting import fmt_latex, fmt_txt
label_desc: Use image node_id 6 for calling a global function with example usage: _make_unique(list_of_names) and returns: header, list_of_names