panel-extensions / panel-graphic-walker

A project providing a Graphic Walker Pane for use with HoloViz Panel.
https://github.com/panel-extensions/panel-graphic-walker
MIT License
32 stars 3 forks source link

Support more data sources #22

Closed MarcSkovMadsen closed 1 week ago

MarcSkovMadsen commented 3 weeks ago

Continues from #32. So review that one first.

Just wanted to get this started.

Feel free to contribute or run with it.

MarcSkovMadsen commented 2 weeks ago

POC for polars dataframe working

import polars as pl
import panel as pn

from panel_gwalker import GraphicWalker

pn.extension(sizing_mode="stretch_width")

df = pl.read_csv(
    "https://datasets.holoviz.org/windturbines/v1/windturbines.csv.gz", n_rows=10000
)

GraphicWalker(df).servable()

image

Next step is to convert to narwhals.

MarcSkovMadsen commented 2 weeks ago

There is now support for multiple backends via narwhals.

This also illustrates what it takes to support multiple tabular backends in param, panel and bokeh @philippjfr.

image

MarcSkovMadsen commented 2 weeks ago

This one is ready for review.

I will create a new branch from this one. Trying to get duckdb relation and pygwalker Connector working.

MarcSkovMadsen commented 2 weeks ago

There are some issues on current main branch when testing pycafe. will fix in this one also.

MarcSkovMadsen commented 2 weeks ago

Ok. I fixed the issues except https://github.com/panel-extensions/panel-graphic-walker/issues/36.

philippjfr commented 1 week ago

Ignore me, I see it's a pygwalker dependency.