Skip to content
Closed
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: 1 addition & 5 deletions protocol/dataframe_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,15 +392,11 @@ class DataFrame(ABC):

@abstractmethod
def __dataframe__(
self, nan_as_null: bool = False, allow_copy: bool = True
self, allow_copy: bool = True
) -> "DataFrame":
"""
Construct a new exchange object, potentially changing the parameters.

``nan_as_null`` is a keyword intended for the consumer to tell the
producer to overwrite null values in the data with ``NaN``.
It is intended for cases where the consumer does not support the bit
mask or byte mask that is the producer's native representation.
``allow_copy`` is a keyword that defines whether or not the library is
allowed to make a copy of the data. For example, copying data would be
necessary if a library supports strided buffers, given that this protocol
Expand Down