centroid#

GeosSeriesAccessor.centroid(*args, **kwargs)#

Computes the geometric center (center-of-mass) of a geometry.

Applies shapely.constructive.centroid to the data and returns a Series with the result.

Returns:

Series with the results of the function.

Return type:

pandas.Series