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 @o_guest
"saving" how? to disk? what format are you saving the dataframe in? Is this just a metadata item?
1 reply 0 retweets 1 like -
Replying to @geospacedman
Saving to disk as geojson. When you say this you mean the thing true for the whole df? No, it's a value that applies to all the df.
3 replies 0 retweets 0 likes -
Replying to @o_guest
so like the creation date of the dataset, or the licensing info, or the RNG seed that created the data?
1 reply 0 retweets 1 like -
-
Replying to @o_guest
Discussion on metadata seems to appear occasionally on the geojson list, but "not in scope" seems to be the reply. Use another format?
1 reply 0 retweets 1 like -
Replying to @geospacedman
OK, my question would still stand. How do I do this for csv?
1 reply 0 retweets 0 likes -
-
Replying to @o_guest @geospacedman
For CSV, if using R could put it in first few lines, then use skip=x, otherwise would have to be in separate file I think. Is a pain!
1 reply 0 retweets 1 like
Ah, [not R] so if I switch to saving my GeoPandas as a CSV instead of a geoJSON it might work?
-
-
OK, regardless might go for separate file, as you say (and as I have been doing).
1 reply 0 retweets 1 like - 4 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.