Here's how to save DataFrame in Local Storage. #324
Unanswered
KingWebsites
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a couple of (not-SPA) pages that need to use the same DataFrames without sharing the same JS classes. Therefore it's handy for me to store the DataFrames in the browser's Local Storage.
I had problems saving the actual danfo DataFrame object itself so I did some pre-processing and some post-processing to achieve the goal. I may have over-thought this, and if you can think of easier ways then let me know, but just in case anybody gets completely stumped by this they can use this code:
Beta Was this translation helpful? Give feedback.
All reactions