Hi I try to save my DataFrame as csv file in streamlit.
My program return two Dataframes to streamlit as data.
I want to make button that will allow to save this dataframes.
I try this simple code:
if st.button("Pobierz plik"):
data[0].to_csv('file.csv',index=False)
But nothing hapend when i clicked on the button. Any one have some idea?