My current dataframe (
clean_geoms) contains two columns (
field_coords) that I want to convert to a single geometry (GeoSeries)
This is a representative sample of my data:
print(clean_geoms.field_geom_type.iloc) print(clean_geoms.field_coords.iloc) Polygon [[[-96.568927, 46.769008], [-96.5689454, 46.7705433], [-96.5726564, 46.7705222], [-96.572638, 46.7689868], [-96.568927, 46.769008]]]
What is the best way to unpack this list so that it can be converted into geometry?