Skip to main content
Version: Python

float_col

The float_col method creates a column containing Java primitive float values.

note

This method is commonly used with new_table to create tables.

Syntax

float_col(columnName, values...)

Parameters

ParameterTypeDescription
columnNameString

The name of the new column.

valuesfloat...

The column values.

Returns

A ColumnHolder.

Example

The following examples use new_table to create a table with a single column of floats named Floats.

from deephaven import new_table
from deephaven.column import float_col

result = new_table([
float_col("Floats", [9.9, 8.8, 7.7])
])