Skip to main content

col_from_array

Function col_from_array 

Source
pub fn col_from_array(values: Array) -> Result<Array, Box<EvalAltResult>>
Expand description

Construct a numeric column vector (N by 1) from a list or vector.

assert_eq(col([1, 2, 3]), [[1], [2], [3]]);