paddymul / buckaroo

Buckaroo - the data wrangling assistant for pandas. Quickly explore dataframes, and run pandas commands via a GUI. Works inside the jupyter notebook.
https://paddymul.github.io/buckaroo/
BSD 3-Clause "New" or "Revised" License
227 stars 9 forks source link

Enable use in separate panel #317

Open paddymul opened 1 month ago

paddymul commented 1 month ago

Checks

How would you categorize this request. You can select multiple if not sure

Other (please describe in Issue Description)

Enhancement Description

I want buckaroo to be usable as a separate jupyter panel, like this Amphi example

Pseudo Code Implementation

Amphi is built without ipywidgets. Here is the frontend side of that table https://github.com/amphi-ai/amphi-etl/blob/main/jupyterlab-amphi/packages/pipeline-editor/src/ViewData.tsx#L95

I don't know where the python code that prepares the data for the panel lives @tgourdel

Worst case you could pull in the frontend js code https://github.com/paddymul/buckaroo/blob/main/js/components/DFViewerParts/DFViewer.tsx Demo here https://buckaroo-data.readthedocs.io/en/latest/examples/#/DFViewerEx_large

It shouldn't be hard to integrate the Buckaroo Dataflow code to prepare the payload for DFViewer

Prior Art

This was prompted from a conversation with @tgourdel about amphi-etl

https://github.com/amphi-ai/amphi-etl/tree/main