to_arrow

to_arrow converts a Deephaven table to a PyArrow table.

Syntax

Parameters

ParameterTypeDescription
tableTable

A Deephaven table.

cols optionallist[str]

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

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: