Hello!
I am looking at this tutorial page Part 5. Sharing data between callbacks, namely Example 1 - Storing Data in the Browser with a Hidden Div
I wonder why is the json-ing of dataframes preferred over filtering the df multiple times in respective callbacks?
.to_json and .from_json methods seem to be extremely slow and they work much worse than actually filtering the df multiple times in the respective callbacks.
Why is the approach of storing json-ed df in a hidden div advised in the first place? It is way worse than the multiple df filter.
Is there a way to share data between callbacks which is faster than .to_json, .from_json methods?
Thanks!
4 posts - 2 participants