Update DataFrame

I have a data frame displayed at the top of my app. Later on, by using a button the data frame gets updated. Is there any way to update this data frame at the top of the page to display the changed information? Or equally, is there any code that can be added to the button to force a page refresh?
Thanks in advance!

Hi @jackmleitch, welcome to the Streamlit community.

You can append data to a dataframe using the add_rows method:


This will trigger the page to refresh the object to include the new data.