bool_col
The bool_col
method creates a column containing Java primitive boolean values.
note
This method is commonly used with new_table
to create tables.
Syntax
bool_col(columnName, values...)
Parameters
Parameter | Type | Description |
---|---|---|
columnName | String | The name of the new column. |
values | boolean... | The column values. |
Returns
A ColumnHolder
.
Example
The following examples use new_table
to create a table with a single column of boolean values.
from deephaven import new_table
from deephaven.column import bool_col
result = new_table([
bool_col("Booleans", [True, False, True])
])
- result