What is the GeoPandas equivalent of ST_MakePolygon?
I want to convert a MULTIPOLYGON to one single polygon. Currently, using GeoPandas.boundary a MultiLineString is returned.
How can this one be converted to a regular POLYGON?
As far as I understand ST_MakePolygon would be the post GIS pendant.
edit
I am aware of https://stackoverflow.com/questions/2964751/how-to-convert-a-geos-multilinestring-to-polygon-using-python, i.e. convex_hull, but this only returns a rather distorted geometry.
I.e. in case one looks at the shape of Austria this is:

edit2
A df.explode() will convert the MULTIPOLYGON to POLYGON.
Some answers suggest to aggregate via dissolve, however:
type(df(by='column_with_constant_value', aggfunc='sum').iloc[0].geometry)
still is
shapely.geometry.multipolygon.MultiPolygon
The same for:
type(df.cascaded_union)
shapely.geometry.multipolygon.MultiPolygon
edit3
The Polygon I am looking at is the Austrian borders from GADM. https://biogeo.ucdavis.edu/data/gadm3.6/gpkg/gadm36_AUT_gpkg.zip is the download link.
- unzip it
df = gp.read_file()



somedf.geometry = somedf.geometry.apply(lambda x: list(x)[0]). See: How to extract Polygons from Multipolygons in shapely?. – BERA Feb 13 '19 at 06:21df.explodealready does this and returns a list of polygons. However, then as a next step I need to get them combined into a single polygon. – Georg Heiler Feb 13 '19 at 06:31