From ea2fad542f99f9c4838df0bc2c321d458737355d Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 29 Jul 2022 16:01:57 +0200 Subject: [PATCH] Clarify that chunks in `__dataframe__` are equal-size across columns --- protocol/dataframe_protocol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/dataframe_protocol.py b/protocol/dataframe_protocol.py index adde1a48..4d9e6c19 100644 --- a/protocol/dataframe_protocol.py +++ b/protocol/dataframe_protocol.py @@ -494,5 +494,8 @@ def get_chunks(self, n_chunks: Optional[int] = None) -> Iterable["DataFrame"]: producer. If given, ``n_chunks`` must be a multiple of ``self.num_chunks()``, meaning the producer must subdivide each chunk before yielding it. + + Note that the producer must ensure that all columns are chunked the + same way. """ pass