Skip to content

Commit

Permalink
changed total_plan_area output to Series
Browse files Browse the repository at this point in the history
  • Loading branch information
levisweetbreu committed Aug 14, 2023
1 parent 9c3079a commit 1ad90c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions naturf/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,13 +947,13 @@ def target_crs(input_shapefile_df: gpd.GeoDataFrame) -> CRS:
return input_shapefile_df.crs


def total_plan_area(total_plan_area_geometry: gpd.GeoSeries) -> pd.DataFrame:
def total_plan_area(total_plan_area_geometry: gpd.GeoSeries) -> pd.Series:
"""Calculate the total plan area for each building in a GeoPandas GeoSeries.
:param geometry: Geometry for a series of buildings.
:type geometry: gpd.GeoSeries
:return: Pandas DataFrame with total plan area for each building.
:return: Pandas Series with total plan area for each building.
"""

Expand Down

0 comments on commit 1ad90c5

Please sign in to comment.