You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Geopanda dataframe has None in one of its column, and then is converted to topology . When you want to export it with Topology.to_json(pretty=True), with pretty, you will notice that it doesn't convert any Nones to nulls.
Hi,
A Geopanda dataframe has None in one of its column, and then is converted to topology . When you want to export it with Topology.to_json(pretty=True), with pretty, you will notice that it doesn't convert any Nones to nulls.
Check this example (Notice "end_date": None)
You will see this output:
Under "properties" -> "end_date", you can see it's set to None, which is not correct JSON syntax. It should be null.
to_json() without pretty=True will output the correct format with null
The text was updated successfully, but these errors were encountered: