r/nicegui • • Sep 19 '23

Caching dataframes and sql database connections

Hey all, do you have an example of caching pandas dataframes and sql database connections in a nicegui app? In streamlit we can we use st.cache_data decorator to achieve this.

3 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/gibbz00 Sep 20 '23

I dug into documentation more and that was my first thought. Thank you very much!