Replies: 6 comments 17 replies
-
Is this a future goal of great-tables or not? It would be great to support some simple interactive actions like sorting by columns. |
Beta Was this translation helpful? Give feedback.
-
I was wondering the same, I'd love to create a table using GT that I can display in shiny that includes basic dynamic column filter/sorting. Often I migrate user spreadsheets from excel/gsheets to shiny and this would be a nice way of doing this. |
Beta Was this translation helpful? Give feedback.
-
@braudelan @link89 @david-waterworth we'd love for you to check out reactable-py! https://machow.github.io/reactable-py/get-started/index.html |
Beta Was this translation helpful? Give feedback.
-
Hey all. For what it's worth I created Buckaroo which is built around interactive data exploration. It has summary stats, extensive styling options, search, sort, forms of filtering and toggable views. BuckarooWidget is built around viewing DataFrames in jupyter without typing a bunch of options. Buckaroo the framework is capable of being heavily customized into "table apps". I recently built a dataframe diff tool on top of buckaroo https://www.youtube.com/shorts/u3PW6q36ufo as an example of the types of interactive apps that Buckaroo enables. I'm eager to collaborate and talk to anyone who is doing cool stuff with tables. @machow @rich-iannone I hope you don't mind me talking about my project in your issues, if there's any problem, feel free to remove the comment. |
Beta Was this translation helpful? Give feedback.
-
I've recently been experimenting with the marimo project, and it seems like a great tool for users to explore Great Tables. With just a few lines of code, we can quickly style a selected column with a lightgray background interactively: import marimo
__generated_with = "0.11.12"
app = marimo.App(width="medium")
@app.cell
def _():
import polars as pl
import marimo as mo
from great_tables import GT, style, loc
from great_tables.data import exibble
df = pl.DataFrame(exibble)
return GT, df, exibble, loc, mo, pl, style
@app.cell
def _(df, mo, pl):
sel_cols = [col for col in df.columns if col not in {"group", "row"}]
sel_col = mo.ui.radio.from_series(pl.Series(sel_cols), value=sel_cols[0])
sel_col
return sel_col, sel_cols
@app.cell
def _(GT, df, loc, sel_col, style):
(
GT(df)
.tab_stub(groupname_col="group", rowname_col="row")
.tab_style(
style=style.fill(color="lightgray"), locations=loc.body(sel_col.value)
)
)
return
if __name__ == "__main__":
app.run() @rich-iannone and @machow, I'm curious about the team's thoughts on this project. Could it be integrated with |
Beta Was this translation helpful? Give feedback.
-
i raised an issue on marimo that reactable-py was not working in marimo and got an interesting response. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First thing that come to mind is sorting by column. This is probably the most useful and common operation for me. Filtering would be beautiful. And other stuff I can't think of right now.
Beta Was this translation helpful? Give feedback.
All reactions