The Melancholy

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » The Melancholy » Сюжет » Updating global dataframe periodically


Updating global dataframe periodically

Сообщений 1 страница 2 из 2

1

Hi,

I’m connecting to firebase (a real time database), creating a global pandas DataFrame and using this to generate various plots.
All I want to do is re-run one query every x minutes to keep this DataFrame fresh but every example I’ve seen implies youeither need to:

Run a seperate query in every callback
Convert the data to json and hide it in a div

I thought this would be straightforward to do without resorting to the above…am I missing something?

Please help...

I didn't find the right solution from the Internet.

References
https://community.plot.ly/t/updating-global-dataframe-periodically/7149

animated commercial product video

0

2


Вы здесь » The Melancholy » Сюжет » Updating global dataframe periodically