Gradio’s Dataframe has been upgraded! 🎨
If you’ve already used
gr.Dataframe()
, I think you’ll agree that it did a good job. Customisation, virtualisation, accessibility, clean UI. We weren't complaining too much about it, though our backlog of issues had been growing, and some improvements had been in demand for a while.
Well — we’re now super excited to release a host of new updates to Gradio’s dataframe component. We’ve closed over 70 dataframe issues - including bugs, improvements and enhancements.
Features and Enhancements
We’ve supercharged the dataframe with some awesome updates. Take a look. 👀
Multi-Cell Selection
Finally, you can select multiple cells at once! Copy or delete values across your selection with ease.
Row Numbers & Column Freezing
Add row number columns and keep critical columns in view while navigating wide datasets. No more losing track of what you're looking at!
Copy Button and Full Screen Button
Easily copy cell values into a comma-separated format with our new copy button. Need a better view? The full screen button gives you interactivity without distractions.
Scroll to Top Button
Look at all that data! Now we can just scroll to the top.
Accessibility Upgrade and Enhanced Styling
Improved keyboard navigation makes gr.Dataframe more accessible than ever. You can also take control of your Dataframe’s look with a dedicated styler parameter and enhance the user experience of your app.
Row and Column Selection
Access entire row data in select events for more intuitive interactivity and data manipulation.
Static Columns
Customise the interactivity of your dataframe by specifying non-editable columns.
Search functionality
Quickly find the data you need with our powerful search feature.
Filter functionality
Narrow down your dataset to focus on exactly what you need with flexible filtering options.
Improved cell selection
Experience smoother, more intuitive cell selection that behaves the way you expect.
What’s next?
With over 70 issues closed, we’ve made huge improvements, but there’s always more for us to work on. Looking ahead, we still have more ideas to implement and we’re excited to keep refining accessibility, performance, and integration. Look out for some cool demos on our socials using the dataframe.
Try it yourself!
The updated dataframe is live in the latest Gradio release. Update your installation with:
pip install --upgrade gradio
Check out the Gradio documentation for examples and tutorials to get started with these new features. We’re eager to see what you create! Got thoughts or suggestions? Share them by raising an issue in our GitHub repo.
Happy building!