Seeking Advice for Streamlit App State Management and Best Practices

That is great advice @sebastiandres !!

  1. I do have some validation to the input file that I didn’t mention. Not a big deal so far.
  2. makes sense different isolated pages would be easier to maintain.

Question for you: How do you use the session_state then both for tracking multiple states and the “most updated version of the df”? Do you keep them in memmory or go to a SQL DB to read/write the changes made by the user?

FYI I saw your other answer in this post: Anyone creating business-facing apps with Streamlit?

and it seems you tackle very similar problems that I do and solve them with Streamlit.

Would you be up for having a chat and show a bit how we tackle similar issues, eventually learning something new? In case you’re up to I can DM you to figure something out.

truly appreciate your time!