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.
code: def __dlpack_device__(self) -> Tuple[_Device, int]:
      """
      _Device type and _Device ID for where the data in the buffer resides.
      """
      return (_Device.CUDA, cp.asarray(self._buf).device.id)
  
imports: import enum
  from collections import abc
  from typing import Any, Dict, Iterable, Mapping, Optional, Sequence, Tuple, cast
  import cupy
  import numpy
  from numba.cuda import as_cuda_array
  import rmm
  import cudf
  from cudf.core.buffer import Buffer, as_buffer
  from cudf.core.column import as_column, build_categorical_column, build_column
label_desc: Use image node_id 5 for calling the _CuDFBuffer obj's underlying member method code with example usage: obj.__dlpack_device__() and returns: _Device,  cp