Skip to content

Commit

Permalink
remove outated docstring on private functions
Browse files Browse the repository at this point in the history
  • Loading branch information
SlowMo24 committed Aug 7, 2024
1 parent 585a077 commit fbf6265
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ohsome/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit fbf6265

Please sign in to comment.