GeoSeries.
affine_transform
Return a GeoSeries with translated geometries.
GeoSeries
See http://shapely.readthedocs.io/en/stable/manual.html#shapely.affinity.affine_transform for details.
6 or 12 items for 2D or 3D transformations respectively. For 2D affine transformations, the 6 parameter matrix is [a, b, d, e, xoff, yoff] For 3D affine transformations, the 12 parameter matrix is [a, b, c, d, e, f, g, h, i, xoff, yoff, zoff]