def geodataframe(self) -> gpd.GeoDataFrame:
    'Create polygons for each element and return in dataframe\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        gpd.GeoDataFrame\n            Dataframe created from entries of `Polygon` type for\n            each element.\n        '
    data = []
    for (elem_id, elem_nd_ids) in self().items():
        data.append({'geometry': Polygon(self.mesh.coord[list(map(self.mesh.nodes.get_index_by_id, elem_nd_ids))]), 'id': elem_id})
    return gpd.GeoDataFrame(data, crs=self.mesh.crs)
Create polygons for each element and return in dataframe

Parameters
----------

Returns
-------
gpd.GeoDataFrame
    Dataframe created from entries of `Polygon` type for
    each element.
def geodataframe(self) -> gpd.GeoDataFrame:
    'Create polygons for each element and return in dataframe\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        gpd.GeoDataFrame\n            Dataframe created from entries of `Polygon` type for\n            each element.\n        '
    data = []
    for (elem_id, elem_nd_ids) in self().items():
        data.append({'geometry': Polygon(self.mesh.coord[list(map(self.mesh.nodes.get_index_by_id, elem_nd_ids))]), 'id': elem_id})
    return gpd.GeoDataFrame(data, crs=self.mesh.crs)