We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b66b441 commit 2794c88Copy full SHA for 2794c88
docs/source/user-guide/dataframe/index.rst
@@ -178,12 +178,13 @@ PyArrow:
178
... # each batch is a ``datafusion.RecordBatch``
179
180
Each batch exposes ``to_pyarrow()``, allowing conversion to a PyArrow
181
-table without collecting everything eagerly:
+table. ``pa.table(df)`` collects the entire DataFrame eagerly into a
182
+PyArrow table:
183
184
.. code-block:: python
185
186
import pyarrow as pa
- table = pa.Table.from_batches(b.to_pyarrow() for b in df)
187
+ table = pa.table(df)
188
189
Asynchronous iteration is supported as well, allowing integration with
190
``asyncio`` event loops:
0 commit comments