categoricalAppend

fnArrayData[] categoricalAppend(const ArrayData[] left, const ArrayData[] right, DataType dtype) @trusted

Appends two categorical chunk lists under the invariant: the dictionaries reconcile once, both sides' codes remap onto the merged dictionary, and the result chunks share it.

Parameters

leftthe left chunks
rightthe right chunks
dtypethe shared CATEGORICAL dtype

Returns

the appended chunk list (one dictionary shared by all).