double_col

The double_col method creates a column containing Java primitive double values.

Note

This method is commonly used with new_table to create tables.

Syntax

Parameters

ParameterTypeDescription
namestr

The name of the new column.

dataSequence[float]

The column values. This can be any sequence of compatible data, e.g., list, tuple, ndarray, pandas series, etc.

Returns

An InputColumn.

Example

The following examples use new_table to create a table with a single column of doubles named Doubles.