Hello Streamlit community,
Currently writing Streamlit app to retrieve options setup on a specific Oracle database hosted on a target platform.
The user selects the folder containing the audit data
Folder name is composed by <server_name>_<Database_name>
Start_analyze button performing logical treatments and display informations for each option in a dataframe from a csv file generated dynamically
So far all Streamlit behavior fine but …Correct options used in the database displayed
Above title is correct (global python variable)
Next attempts (analyzing a different folder name ) retrieve correct data in title but related dataframe is never refreshed and still display data of initial analyze …
Did -with our without setting
@st.cache (suppress_st_warning=True, allow_output_mutation=True) def load_data(): cols = columns=['Server' , 'Instance' ,'Option' , 'Usage_option_count' , 'Thales_subscribed' ,'Date_analysis'] data_ora = pd.read_csv(config.df_summary, usecols = cols) return data_or
I checked config.df_summary value used (target .csv file name) is correct in load_data function, but dataframe never refreshed and still display data with server_name / database_name
values of first analysis … - like on image below example
Also tried of using st.empty() but with no effect
Please advise !