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
Not sure if useful, but I did some CSV->GeoJSON where I looked through CSV, made some geopy calls, then wrote to JSON with geojson module
1 reply 0 retweets 0 likes -
i.e., maybe not necessary to go through (Geo)Pandas, depending on what you're doing
1 reply 0 retweets 0 likes -
Replying to @cMadan @Research_Tim
It is, I'm doing very very big data and using tons of pandas and geopd stuff. Regardless how did you save metadata?
1 reply 0 retweets 0 likes -
The bulk of the code is written in geopd for the data. Rewriting it not to use geopd would be pointless.
1 reply 0 retweets 0 likes -
Replying to @o_guest @Research_Tim
Gotcha :). I was just making a GeoJSON for use with Google Maps API, based on my own arbitrary CSV (not sure what metadata you mean?)
1 reply 0 retweets 0 likes -
Replying to @cMadan @Research_Tim
Olivia Guest | Ολίβια Γκεστ Retweeted Barry Rowlingson 🐺
OK, so this is what my question was about how to save metadata — more here:https://twitter.com/geospacedman/status/848952209207422977 …
Olivia Guest | Ολίβια Γκεστ added,
1 reply 0 retweets 1 like -
Replying to @o_guest @Research_Tim
Ah, ok, I understand Q now. Seems like there isn't a dedicated metadata object http://gis.stackexchange.com/questions/96158/metadata-and-geojson … https://pypi.python.org/pypi/geojson
1 reply 0 retweets 0 likes
yes, I can save to a number of file type with geopandas none of which are officially seeming to support much of anything for metadata.
-
-
I have returned to what I thought was the only option: separate files.
1 reply 0 retweets 0 likes - 2 more replies
New conversation -
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.