Large datasets are the whole point of this project, so the Python wrapper
does not ship millions of numbers as JSON. Instead it packs numeric columns
contiguously into a single ArrayBuffer and sends a tiny JSON schema next to
it (anywidget delivers the bytes as a DataView). This module decodes that
buffer back into typed arrays with no per-element JS work.
The R/htmlwidgets path uses plain JSON arrays (jsonlite), which arrive as
number[] and are accepted everywhere a Column is. Both paths converge on
the same PlotomicsData shape.
Binary columnar transport.
Large datasets are the whole point of this project, so the Python wrapper does not ship millions of numbers as JSON. Instead it packs numeric columns contiguously into a single ArrayBuffer and sends a tiny JSON schema next to it (anywidget delivers the bytes as a DataView). This module decodes that buffer back into typed arrays with no per-element JS work.
The R/htmlwidgets path uses plain JSON arrays (jsonlite), which arrive as
number[]and are accepted everywhere aColumnis. Both paths converge on the same PlotomicsData shape.