close
close
When not to use the Streamlit AgGrid component | by Jose Parreño | Dec. 2024

Streamlit-AgGrid is amazing. However, there are two scenarios where its use is not recommended.

Jose Parreño
Towards data science
Image created with DALL-E

Hello! I’m assuming you’re reading this blog post because you know Streamlit and AgGrid. If you are unfamiliar with either or want to dive into the technical details of AgGrid, I have written a detailed blog post on how to create well-designed data frames using the Streamlit AgGrid component created by Pablo Fonseca.

In my opinion, st_aggrid is one of the best “extra” components in Streamlit. In fact, at the time of writing, it is the most recommended component in the Data Frames section of the official Streamlit documentation. Since I use AgGrid extensively, I would like to share with you two scenarios where AgGrid is not recommended. I will talk about it in detail:

  1. What happens if we work with Polars?
  2. What happens when we work with large data sets in our Streamlit app?

Disclaimer 1: I have no affiliation or partnership with AgGrid. I just find the open source product very valuable. While AgGrid has a paid, tiered product, the blog post only uses AgGrid’s free components.

Disclaimer 2: All images and GIFs were created by myself unless otherwise stated.

Leave a Reply

Your email address will not be published. Required fields are marked *