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.31k stars 155 forks source link

improvement: add .from_series to many mo.ui inputs #1678

Closed mscolnick closed 3 days ago

mscolnick commented 5 days ago

Add .from_series to many mo.ui inputs.

number = mo.ui.number.from_series(df["column_name"])
slider = mo.ui.slider.from_series(df["column_name"])
range_slider = mo.ui.range_slider.from_series(df["column_name"])
radiogroup = mo.ui.radio.from_series(df["column_name"])
dropdown = mo.ui.dropdown.from_series(df["column_name"])
multiselect = mo.ui.multiselect.from_series(df["column_name"])
date = mo.ui.date.from_series(df["column_name"])
Screenshot 2024-06-26 at 9 47 08 PM
vercel[bot] commented 5 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:02pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:02pm
github-actions[bot] commented 3 days ago

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.6.24-dev6