Skip to main content

byteCol

The byteCol method creates a column containing Java primitive byte values.

note

This method is commonly used with newTable to create tables.

Syntax

byteCol(columnName, values...)

Parameters

ParameterTypeDescription
columnNameString

The name of the new column.

valuesbyte...

The column values.

Returns

A ColumnHolder.

Example

The following examples use newTable to create a table with a single column of bytes named Bytes.

from deephaven.TableTools import newTable, byteCol

result = newTable(
byteCol("Bytes", 1, 2, 3, 4)
)