InputColumn

The InputColumn class represents a column of data that can be used as input when creating or updating tables in Deephaven. It is a flexible way to define columns with specific names and data types, supporting a wide range of data sources and types.

Note

InputColumn is often used with new_table and related table creation methods to supply data for new columns.

Syntax

Parameters

ParameterTypeDescription
namestr

The name of the new column.

data_typeDType

The column data type.

component_type optionalOptional[DType]

The column component type. The default is None.

column_type optionalColumnType

The column type: ColumnType.NORMAL or ColumnType.PARTITIONING. The default is ColumnType.NORMAL.

input_data optionalOptional[Any]

The column values, such as a list, tuple, NumPy ndarray, or pandas Series. The default is None, which creates an empty column.

Returns

An InputColumn object that can be used as an argument to table creation or update methods.

Examples

See Also