code: def set_function_name(f: F, name: str, cls) -> F:
      """
      Bind the name/qualname attributes of the function.
      """
      f.__name__ = name
      f.__qualname__ = f"{cls.__name__}.{name}"
      f.__module__ = cls.__module__
      return f
  
file_path: catboost/contrib/python/pandas/py3/pandas/compat/__init__.py
imports: from __future__ import annotations
  import os
  import platform
  import sys
  from pandas._typing import F
  from pandas.compat._constants import IS64, PY39, PY310, PY311, PYPY
  import pandas.compat.compressors
  from pandas.compat.numpy import is_numpy_dev, np_version_under1p21
  from pandas.compat.pyarrow import pa_version_under7p0, pa_version_under8p0, pa_version_under9p0, pa_version_under11p0
label_desc: Use image node_id 1 for calling a global function with example usage: set_function_name(f, name, cls) and returns: f