code: def _bind_property(cls, pd_cls, attr, min_version=None):
      def func(self):
          return self._property_map(attr)
  
      func.__name__ = attr
      func.__qualname__ = f"{cls.__name__}.{attr}"
      try:
          func.__wrapped__ = getattr(pd_cls, attr)
      except Exception:
          pass
      setattr(
          cls,
          attr,
          property(derived_from(pd_cls, version=min_version)(func)),
      )
  
imports: from __future__ import annotations
  import warnings
  import numpy
  import pandas
  from dask.dataframe._compat import check_to_pydatetime_deprecation
  from dask.utils import derived_from
label_desc: Use image node_id 2 for calling a global function with example usage: _bind_property(cls, pd_cls, attr, min_version) and returns: self