code: def _cudf_nvtx_annotate(func, domain="cudf_python"):
      """Decorator for applying nvtx annotations to methods in cudf."""
      return annotate(
          message=func.__qualname__,
          color=_get_color_for_nvtx(func.__qualname__),
          domain=domain,
      )(func)
  
imports: import hashlib
  from functools import partial
  from nvtx import annotate
label_desc: Use image node_id 2 for calling a global function with example usage: _cudf_nvtx_annotate(func, domain) and returns: annotate