to_arrow
to_arrow converts a Deephaven table to a PyArrow table.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| table | Table | A Deephaven table. |
| cols optional | list[str] | The columns to convert. Default is |
Returns
A PyArrow table.
Examples
The following example converts a Deephaven table to a PyArrow table:
The following example converts a Deephaven table to a PyArrow table, but only the X and Z columns: