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