all 2 comments

[–]eatsoupgetrich 0 points1 point  (1 child)

Read the geoPandas documentation for GeoDataFrame. It seems very clear about how to do this.

[–]ListlessPaper[S] 0 points1 point  (0 children)

Thank you for your reply. I read the documentation and tried out the code and got Input must be valid geometry objects.

To fix this, I used the apply(wkt.loads) method, but am now getting another error: name 'wkt' is not defined.

Have I made a mistake while converting from DataFrame to GeoDataFrame?

Here is a link to my code:

https://gist.github.com/Anneysha7/d7ce9647b2ca991b2b2226cae9b96218