Column.this

this(string name, const(T)[] values)

Constructs from plain values, with no nulls. The constraint resolves the ambiguity the unconstrained pair has for Nullable!T[] (fact 9): optional input goes to the Nullable overload.

Parameters

namethe column name
valuesthe column values
this(string name, const(Nullable!T)[] values)

Constructs from optional values; null entries become null slots.

Parameters

namethe column name
valuesthe optional column values
this(string name, const(T)[] values, const(bool)[] valid)

Constructs from plain values plus a validity array (true = valid).

Parameters

namethe column name
valuesthe column values (values.length == valid.length required)
validthe validity of each slot

Throws

DataFrameException when the lengths differ.