How do I Constantly update a pandas dataframe in NiceGUI?

486 views Asked by At

this is my first time doing any GUI in python so trying out niceGUI also for the first time.

I have a pandas dataframe that keeps updating based on certain conditions and im displaying it on NiceGUI using the table method. it displays fine but isn't updating when the dataframe updates. i tried using the .update call too but doesnt seem to change anything.

Am i doing something wrong or is there a certain way to do this?

Really massive newbie when it comes to any GUI work so any help will be appreciated!

I've even tried using a button that calls the update method to update the view of the dataframe but that isn't working either. I havn't been able to find another easier solution to this yet.

Edit: Also, any way to update the dataframe using changes in a .csv file will also work for me so if anyone can help in that regard, it will be appreciated too!

0

There are 0 answers