From fbf6265b488506493bcef16fdbff7a97a06f159f Mon Sep 17 00:00:00 2001 From: Moritz Schott Date: Wed, 7 Aug 2024 18:30:48 +0200 Subject: [PATCH] remove outated docstring on private functions --- ohsome/response.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ohsome/response.py b/ohsome/response.py index 32ac6b7..5ed5f85 100644 --- a/ohsome/response.py +++ b/ohsome/response.py @@ -41,12 +41,6 @@ def as_dataframe( return self._as_geodataframe(multi_index, explode_tags) def _as_dataframe(self, multi_index=True): - """ - Converts the ohsome response to a pandas.DataFrame - :param multi_index: If true returns the dataframe with a multi index - :return: pandas.DataFrame - """ - groupby_names = [] if "result" in self.data.keys(): result_df = pd.DataFrame().from_records(self.data["result"]) @@ -80,12 +74,6 @@ def _as_dataframe(self, multi_index=True): def _as_geodataframe( self, multi_index: Optional[bool] = True, explode_tags: Optional[tuple] = () ): - """ - Converts the ohsome response to a geopandas.GeoDataFrame - :param multi_index: If true returns the dataframe with a multi index - :return: geopandas.GeoDataFrame - """ - if len(self.data["features"]) == 0: return gpd.GeoDataFrame( crs="epsg:4326",