License
BSD-3-Clause
The cast layer of ddn.df: converting chunks between dtypes (D12; ADR-2026-10-18-05).
Casts are strict by default: out-of-range numeric conversion or an unparsable string throws DataFrameException; with strict = false those elements become null. Nulls are always preserved. INT64 and the temporal kinds reinterpret the physical value (zero copy); STRING renders through to!string and the ddn.datetime formatters.
ArrayData castChunk(const ArrayData chunk, DataType target, bool strict = true)Casts one chunk to the target dtype.ArrayData castToInt(Kind K, T, V)(V view, const ArrayData chunk,
Kind targetKind, bool strict)ArrayData castToFloat(Kind K, F, V)(V view, const ArrayData chunk,
Kind targetKind, bool strict)ArrayData castToTemporal(Kind K, V)(V view, const ArrayData chunk,
Kind targetKind, bool strict)