onNamesOf

private fnstring[] onNamesOf(Series distinct)

Renders the distinct on-values to their output column names: the CSV cell renderers (decimal integers, shortest-round-trip floats, true/false, strict temporals, strings as-is), null rendering the literal null - the probed Polars 2.0 naming (ADR-2026-10-24-20).

Parameters

distinctthe distinct on-values, one chunk, in first-appearance order

Returns

the rendered column names.