setColumnarTuple!

Syntax

setColumnarTuple!(X, [on=true])

Arguments

X is a tuple of vectors or scalars of the same type.

on is a BOOLEAN value indicating the conversion between tuple and columnar tuple. The default value is true, indicating the conversion from tuple to columnar tuple; False indicates the opposite operation.

Details

This function is used for the conversion between tuple and columnar tuple.

Examples

$ tp = [[1,2,3], [4,5,6], [7,8]]
$ isColumnarTuple(tp)
false

$ tp.setColumnarTuple!()
$ isColumnarTuple(tp)
true

$ t = table(1..5 as id, [`a`a,`b`a,`c, `f`e, `g] as val)
$ isColumnarTuple(t.val)
true

$ t1 = t.val.setColumnarTuple!(false)
$ isColumnarTuple(t1)
false