set_precision#

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

Returns geometry with the precision set to a precision grid size.

Applies shapely._geometry.set_precision to the data.

Parameters:
  • args – Arguments passed to set_precision after the first argument.

  • kwargs – Keyword arguments passed to set_precision.

Returns:

returns the series for chaining.

Return type:

pandas.Series