You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
jupyter.table(value, options?) shows rows as a table: an array of
row objects or arrays, an Arrow table, a Polars DataFrame or a @duckdb/node-api result. The output is application/vnd.dataresource+json with up to 1,000 rows (limit, at
most 10,000 and 1 MB) and the total row count, a plain HTML table of
the first and last rows, and a text summary of each column's type and
range for agents. Arrow tables and DuckDB results now show this way
as a cell's value, and Polars DataFrames show the new output instead of
50 rows and a 10-row HTML table
(#475).
jupyter.sql`...` runs SQL on an in-memory DuckDB database, with
each ${value} as a bound parameter, and resolves to a result that
shows as a table and has columns and rows. jupyter.sql.load
makes a table from a CSV, Parquet or JSON file, rows, an Arrow table or
a DataFrame; query, raw, close and connection cover the rest.
DuckDB loads on the first query: @duckdb/node-api on Node, Deno and
Bun, duckdb-wasm from a CDN on the browser target. Not on workerd or
celld (#477).
jupyter.chart(spec) and jupyter.chart(Plot, options) draw a
Vega-Lite or Vega spec, or an Observable Plot chart, in the kernel as
one SVG with its title and legend inside, plus a text summary. Text
and axes are drawn in currentColor. vega, vega-lite and linkedom
load on first use. Not on workerd or celld
(#479).
An example notebook, Tables, SQL and charts,
shows jupyter.table, jupyter.sql and jupyter.chart together
(#481).
The site's landing page puts Node and Deno first and lists Bun, workerd
and celld under "Also runs on"
(#468).
The jupyter.host() docs and editor types no longer say notebooks.results, notebooks.run and self.* are missing from the
server: Ganymede 0.8.0 answers them
(#468).