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: Use Buffer object.
code: def __init__(
      self,
      buf: Buffer,
      dtype: np.dtype,
      allow_copy: bool = True,
  ) -> None:
      """
      Use Buffer object.
      """
      # Store the cudf buffer where the data resides as a private
      # attribute, so we can use it to retrieve the public attributes
      self._buf = buf
      self._dtype = dtype
      self._allow_copy = allow_copy
  
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 1 to create a new _CuDFBuffer object  with example: obj = _CuDFBuffer(buf, dtype, allow_copy)