to_table

to_table converts a PyArrow table to a Deephaven table.

Syntax

Parameters

ParameterTypeDescription
pa_tablepyarrow.Table

A PyArrow table.

cols optionallist[str]

The columns to convert. Default is None, which means all columns.

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: