structSeries

fnSeries structSeries(string name, string[] fieldNames, Series[] fields) @trusted

Builds a STRUCT Series from its field Series (equal lengths, ordered names).

Parameters

namethe Series name
fieldNamesthe ordered field names
fieldsthe field Series (same length each, order matching)

Returns

the single-chunk STRUCT Series (no parent nulls; field

nulls are the fields' own).