Skip to main content
Home
Works with
This package works with Deno
This package works with Deno
JSR Score70%
Downloads4/wk
Published10 months ago (0.0.4)

interactive anywidgets other utilities for using Deno in Jupyter

function agGrid
agGrid(df: pl.DataFrame): anywidget.Model<unknown>

Display a Polars DataFrame as an interactive agGrid.

Examples

Usage

import * as pl from "npm:nodejs-polars";
import { agGrid } from "jsr:@manzt/jupyter-helper";

let response = await fetch("https://raw.githubusercontent.com/uwdata/mosaic/refs/heads/main/data/penguins.csv");
let df = pl.readCSV(await response.text());
agGrid(df);

Parameters

df: pl.DataFrame

The DataFrame to display

Return Type

anywidget.Model<unknown>

A "live" anywidget instance

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@manzt/jupyter-helper

Import symbol

import { agGrid } from "@manzt/jupyter-helper";
or

Import directly with a jsr specifier

import { agGrid } from "jsr:@manzt/jupyter-helper";