geopandas.GeoSeries.buffer

GeoSeries.buffer(self, distance, resolution=16, **kwargs)

Returns a GeoSeries of geometries representing all points within a given distance of each geometric object.

See http://shapely.readthedocs.io/en/latest/manual.html#object.buffer for details.

Parameters
distancefloat, np.array, pd.Series

The radius of the buffer. If np.array or pd.Series are used then it must have same length as the GeoSeries.

resolution: int

Optional, the resolution of the buffer around each vertex.