Skip to main content
Version: Python

long_col

The long_col method creates a column containing Java primitive long values.

note

This method is commonly used with new_table to create tables.

Syntax

long_col(columnName, values...)

Parameters

ParameterTypeDescription
columnNameString

The name of the new column.

valueslong...

The column values.

Returns

A ColumnHolder.

Example

The following examples use new_table to create a table with a single column of longs named Longs.

from deephaven import new_table
from deephaven.column import long_col

result = new_table([
long_col("Longs", [10000000, 987654321, -314159265])
])