def implode(self) -> gpd.GeoDataFrame:
    'Creates a dataframe from mesh polygons.\n\n        Parameters\n        ----------\n\n        Returns\n        ------\n        gpd.GeoDataFrame\n            Dataframe containing polygons of the mesh.\n\n        See Also\n        --------\n        __call__()\n            Dataframe with multiple polygon and boundary ID entries\n            of the mesh polygons.\n        multipolygon()\n            `shapely` multipolygon shape of combined mesh polygons.\n\n        Notes\n        -----\n        The difference of the return value of this method and\n        `__call__` is that the `implode` returns a dataframe with\n        a single `MultiPolygon` where as `__call__` returns a\n        dataframe with multiple `Polygon` entries with associated\n        `bnd_id`.\n        '
    return gpd.GeoDataFrame({'geometry': MultiPolygon([polygon.geometry for polygon in self().itertuples()])}, crs=self.mesh.crs)
Creates a dataframe from mesh polygons.

Parameters
----------

Returns
------
gpd.GeoDataFrame
    Dataframe containing polygons of the mesh.

See Also
--------
__call__()
    Dataframe with multiple polygon and boundary ID entries
    of the mesh polygons.
multipolygon()
    `shapely` multipolygon shape of combined mesh polygons.

Notes
-----
The difference of the return value of this method and
`__call__` is that the `implode` returns a dataframe with
a single `MultiPolygon` where as `__call__` returns a
dataframe with multiple `Polygon` entries with associated
`bnd_id`.
def implode(self) -> gpd.GeoDataFrame:
    'Creates a dataframe from mesh polygons.\n\n        Parameters\n        ----------\n\n        Returns\n        ------\n        gpd.GeoDataFrame\n            Dataframe containing polygons of the mesh.\n\n        See Also\n        --------\n        __call__()\n            Dataframe with multiple polygon and boundary ID entries\n            of the mesh polygons.\n        multipolygon()\n            `shapely` multipolygon shape of combined mesh polygons.\n\n        Notes\n        -----\n        The difference of the return value of this method and\n        `__call__` is that the `implode` returns a dataframe with\n        a single `MultiPolygon` where as `__call__` returns a\n        dataframe with multiple `Polygon` entries with associated\n        `bnd_id`.\n        '
    return gpd.GeoDataFrame({'geometry': MultiPolygon([polygon.geometry for polygon in self().itertuples()])}, crs=self.mesh.crs)