Data loading is very slow

I built an app using streamlit. But the data takes about 7-8 seconds to load even if I am reading only [155,25] rows of data.
Any suggestions how to load data faster or render charts faster(plotly) ?

Hi @Tannavi_Snehal, welcome to the Streamlit community!

Can you provide more information, whether its the code you are running, an example of the data, what platform you are on, etc.? Without any information, it’s hard to suggest anything.


Hi @randyzwitch , I am also running in the same issue.

I have built an app. It has around 60k records(expected to grow even more in numbers very soon). I am having slow speed on data loading. I am using Windows 10, Python3.9.4(64 Bit), PostgreSQL database(connected with the app through psycopg2 library.