Skip to main content
Version: Python

char_col

The char_col method creates a column containing Java primitive character values.

note

This method is commonly used with new_table to create tables.

Syntax

char_col(columnName, values...)

Parameters

ParameterTypeDescription
columnNameString

The name of the new column.

valueschar...

The column values.

Returns

A ColumnHolder.

Example

The following examples use new_table to create a table with a single column of characters named Chars.

from deephaven import new_table
from deephaven.column import char_col

result = new_table([
char_col("Chars", "ab")
])