pandas/core/dtypes/cast.py:1981: ShapelyDeprecationWarning: __len__ for multi-part geometries
is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms`
property instead to get the number of parts of a multi-part geometry.
result[:] = values
printing the sdf, causes another error:
print(sdf)
pandas/core/dtypes/inference.py:383: ShapelyDeprecationWarning: Iteration over
multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms`
property to access the constituent parts of a multi-part geometry.
iter(obj) # Can iterate over it.
The last row causes this warning:
printing the sdf, causes another error: