Skip to content

Commit 2b37b1d

Browse files
authored
Clarify that chunks in __dataframe__ are equal-size across columns (#82)
1 parent b414d30 commit 2b37b1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

protocol/dataframe_protocol.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,5 +494,8 @@ def get_chunks(self, n_chunks: Optional[int] = None) -> Iterable["DataFrame"]:
494494
producer. If given, ``n_chunks`` must be a multiple of
495495
``self.num_chunks()``, meaning the producer must subdivide each chunk
496496
before yielding it.
497+
498+
Note that the producer must ensure that all columns are chunked the
499+
same way.
497500
"""
498501
pass

0 commit comments

Comments
 (0)