geopandas.GeoSeries.symmetric_difference

GeoSeries.symmetric_difference(self, other)

Returns a GeoSeries of the symmetric difference of points in each geometry with other.

For each geometry, the symmetric difference consists of points in the geometry not in other, and points in other not in the geometry.

Parameters
otherGeoseries or geometric object

The Geoseries (elementwise) or geometric object to find the symmetric difference to.