takeWithNulls

fnSeries takeWithNulls(Series col, const size_t[] indices)

Gathers the elements at indices, in order, with size_t.max as the null marker (the left-join right side): the same packed-bit gather take uses, with a null slot instead of an out-of-range element. Package-private for ddn.df.join.

Parameters

colthe column to gather
indicesthe element indices (0 .. length each, or size_t.max)

Returns

a single-chunk Series of the gathered elements.