geopandas.GeoSeries.distance

GeoSeries.distance(self, other)

Returns a Series containing the distance to other.

Parameters
otherGeoseries or geometric object

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