...

/

Displaying Data with Gradio

Displaying Data with Gradio

Learn how to display and interact with data using Dataframe in Gradio.

The Dataframe component

In this lesson, we are going to work with the Dataframe component. Naturally, being able to interact and process dataframes in Gradio is critical for developing data applications. We are going to look into how Gradio supports dataframes, and how Gradio allows us to interact with data in the UI.

Press + to interact

Dataframes in Gradio

The Gradio Dataframe works similarly to a pandas DataFrames as we will see in this lesson. There are many options with a Gradio Dataframe, which dictate how we can interact with the data in the UI. For example, we can decide to allow the user to type directly into the Dataframe, or just make it view only. We can allow users to add rows, delete rows, and set max number of rows, just to name a few. We ...