Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions protocol/dataframe_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,12 @@ def get_buffers(self) -> ColumnBuffers:
"""
Return a dictionary containing the underlying buffers.

Each buffer has its own dtype which can be distinct from the
column's dtype. For example, a column with the ``STRING`` dtype
could be represented by two buffers: a "data" buffer with
dtype ``INT`` and bit width 8, and an "offsets" buffer with
dtype ``INT`` and bit width 32.

The returned dictionary has the following contents:

- "data": a two-element tuple whose first element is a buffer
Expand Down