From ed7631d05d4ce5698c12fd8550946e7589ceb30b Mon Sep 17 00:00:00 2001 From: Quentin Lhoest Date: Fri, 14 Oct 2022 16:03:26 +0200 Subject: [PATCH] mention pyarrow>=8 in docstring as well --- src/datasets/table.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/datasets/table.py b/src/datasets/table.py index 376e1e960f5..b5e039faabf 100644 --- a/src/datasets/table.py +++ b/src/datasets/table.py @@ -2152,6 +2152,8 @@ def _visit(array, feature): def table_iter(pa_table: pa.Table, batch_size: int, drop_last_batch=False): """Iterate ober sub-tables of size `batch_size`. + + Requires pyarrow>=8.0.0 Args: table (:obj:`pyarrow.Table`): PyArrow table to iterate over