Hello everyone,
I am working on a Streamlit app for my project and encountering a MessageSizeError when attempting to display a large DataFrame using the st.dataframe function. The error message is: “Data of size 1000.00 MB exceeds the message size limit of 200.0 MB.”
Here is a snippet of my code:
Create a data frame
data = {‘Name of file’: }
df = pd.DataFrame(data)
Display dataframe
st.dataframe(df)
I believe the issue is related to the size of the DataFrame being too large. Can anyone provide guidance on how to resolve this MessageSizeError? Are there any specific techniques or best practices for efficiently displaying large datasets in a Streamlit app?
Thank you in advance for your assistance!