Gradio has released a major update to its popular gr.Dataframe component, addressing over 70 issues in the past six weeks. New features include multi-cell selection, row pinning, copy-to-clipboard, full-screen mode, enhanced keyboard navigation, styling options, and improved search and filtering. The update also adds row data access in select events, static columns, and smoother cell selection. The updated component is available in the latest Gradio release and can be installed with pip.
Gradio’s gr.Dataframe component is one of our most popular components, we've seen it used in a variety of awesome apps, like leaderboards, dashboards, and interactive visualisations. Although we hadn't made any changes to the dataframe in quite some time, 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. Over the last 6 weeks, we’ve closed over 70 dataframe issues - including bugs, improvements and enhancements.
You can select multiple cells at once! Copy or delete values across your selection with ease.
Add row number columns and keep critical columns in view while navigating wide datasets using the pinned_columns parameter. No more losing track of what you're looking at!
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 and can be enabled with the show_full_screen parameter.
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.
Customise the interactivity of your dataframe by specifying non-editable columns using the static_columns parameter.
Access entire row data in select events for more intuitive interactivity and data manipulation.
Narrow down your dataset to focus on exactly what you need with flexible filtering options with show_search set to "filter" .
Experience smoother, more intuitive cell selection that behaves the way you expect.
The update improves data handling and accessibility in AI applications, enabling developers to build more interactive and user-friendly interfaces for data exploration and visualization.