You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have provided sufficient information below to help reproduce this issue.
Summary
I have a page with streamlit Aggrid working fine until 31Mar26.
Today 01Apr26, the AgGrid table dont show, but the logic of whole page work perfectly.
Console Manage App dont show error.
After search changes en differents libraries, I found this update 1.56.0
I add a line in requeriment.txt with: streamlit==1.55.0
Now the page load fine.
Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
Yes, this used to work in a previous version.
Debug info
Streamlit version:1.56.0
Python version:3.13
Operating System:Win11
Browser:Chrome
Additional Information
No response
Reacted by spf1984, passonigioele, solocram, joriws and Carlin Starrs
I am getting a similar error that happens when pandas 3.x is installed.
When i pass a python dict that includes np.nan or pd.na types (eg. {'Test': np.nan}) to any component_func i get this error on the frontend:
SyntaxError: Unexpected token 'N', ..." {"Test": NaN}, "imp"... is not valid JSON
With pandas 2.x installed they're treated correctly, a valid JSON is generated and the component loads correctly, but with pandas 3.x the component isn't even called.
Using python 3.14.3, streamlit 1.56.0 and pandas 3.0.2
Activity
github-actions commentedon Apr 1, 2026
If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.
Your feedback helps us prioritize which bugs to investigate and address first.
sfc-gh-nbellante commentedon Apr 1, 2026
Hi @ricardo-ali thanks for submitting this issue. Can you please share the app code you were able to repro this issue with?
ricardo-ali commentedon Apr 1, 2026
A try with also with a minimal code and dont show the table. I tried with this code:
import streamlit as st
import pandas as pd
from st_aggrid import AgGrid
st.title("Test AgGrid")
df = pd.DataFrame({
"A": [1, 2, 3],
"B": ["x", "y", "z"]
})
st.dataframe(df)
AgGrid(df, key="test_grid")
Data frame is showed but aggrid dont.
gRodrigues03 commentedon Apr 2, 2026
I am getting a similar error that happens when pandas 3.x is installed.
When i pass a python dict that includes
np.nanorpd.natypes (eg. {'Test': np.nan}) to any component_func i get this error on the frontend:SyntaxError: Unexpected token 'N', ..." {"Test": NaN}, "imp"... is not valid JSONWith pandas 2.x installed they're treated correctly, a valid JSON is generated and the component loads correctly, but with pandas 3.x the component isn't even called.
Using python 3.14.3, streamlit 1.56.0 and pandas 3.0.2
Downcast large Arrow types in custom component v1 serialization
[fix] Downcast large Arrow types in custom component v1 serialization (…