code: def warn_duplicate_column(column_name, column_rename):
      warnings.warn(
          'Column name "{}" already exists in Table. Column will be renamed to "{}".'.format(
              column_name, column_rename
          ),
          DuplicateColumnWarning,
          stacklevel=2,
      )
  
file_path: agate/agate/warns.py
imports: import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: warn_duplicate_column(column_name, column_rename) without return types