Build a dataset from a JS object { name: { kind, values } }.
Internal: return a fresh handle sharing this dataset (used by the test
constructors to accept a Dataset without consuming the caller's
object). Stable marker for instance detection; not part of the public
API surface.
Index of the column named name, or undefined if it is not present.
Number of columns.
Number of rows (observations).
A named, typed, immutable table of columns shared by the test classes.
Construct from a JS object
{ name: { kind, values } }wherekindis"discrete"or"continuous"andvaluesis anumber[],Float64Array, or (for discrete columns) astring[](factorized first-seen). Discrete columns are factorized into integer codes inside the core. Reuse oneDatasetacross several tests to avoid re-copying the column arrays across the wasm boundary.