marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.35k stars 156 forks source link

ui.dataframe with Ibis support #1607

Open szst11 opened 3 weeks ago

szst11 commented 3 weeks ago

Description

The feature of exploring and transforming a pandas dataframe with ui.dataframe is really amazing. If this would be possible with an Ibis-table, Marimo would be able to explore data in a database, just in the same way.

Suggested solution

create ibis code snippets in a similar way like the pandas snippets and add an option to only display a limited number of rows in the preview.

Alternative

No response

Additional context

No response

mscolnick commented 3 weeks ago

we had a similar request for Polars (#616). I can look into extending this to support different types of dataframes