clip_by_rect#

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

Returns the portion of a geometry within a rectangle.

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

Returns:

Series with the results of the function.

Return type:

pandas.Series