Best practice for saving a value that applies to whole dataframe? A column with the same value repeating — a separate file — something else?
-
-
-
Replying to @Research_Tim
Sorry to be more specific saving as geoJSON from within geopandas but willing to change to other compatible filetype. But has to be GEOpd.
2 replies 0 retweets 0 likes -
Replying to @o_guest @Research_Tim
why not save normally with to_csv(…, compression=‘gzip’)? standard compression algs should be able to handle this just fine
1 reply 0 retweets 1 like -
if you want to be more systematic about it, used composition and create your own class that stores the DF internally along w/ metadata
1 reply 0 retweets 1 like -
-
Olivia Guest | Ολίβια Γκεστ Retweeted Barry Rowlingson 🐺
others have said no:https://twitter.com/geospacedman/status/848964619607691267 …
Olivia Guest | Ολίβια Γκεστ added,
1 reply 0 retweets 0 likes -
I want to ideally save as a text file be it csv or json, both of which I am aware geopandas allows me to. Metadata is important but like
1 reply 0 retweets 1 like -
others have mentioned it's not really supported for my case even though there is some mention of metadata in pandas it seems sketchy.
1 reply 0 retweets 0 likes -
Replying to @o_guest @Research_Tim
what’s the downside to adding extra columns to the DF? you can make it a categorical to save memory, and compress txt to save disk space
1 reply 0 retweets 2 likes
Nice ideas. Super thanks. 
-
-
Not 100% sure geopandas will compress a json but I'll investigate.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.