class_docstr: Data in the buffer is guaranteed to be contiguous in memory.
class_docstr_tok: ["Data","in","the","buffer","is","guaranteed","to","be","contiguous","in","memory","."]
docstr: Device type and device ID for where the data in the buffer resides.
docstr_tok: ["Device","type","and","device","ID","for","where","the","data","in","the","buffer","resides","."]
code: def __dlpack_device__(self) -> tuple[DlpackDeviceType, int | None]:
      """
      Device type and device ID for where the data in the buffer resides.
      """
      return (DlpackDeviceType.CPU, None)
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/interchange/buffer.py
imports: from __future__ import annotations
  import numpy
  from pandas.core.interchange.dataframe_protocol import Buffer, DlpackDeviceType
  from pandas.util.version import Version
label_desc: Use image node_id 5 for calling the PandasBuffer obj's underlying member method code with example usage: obj.__dlpack_device__() and returns: DlpackDeviceType,  None