Skip to content

Commit

Permalink
redo column naming in frontal_area()
Browse files Browse the repository at this point in the history
  • Loading branch information
levisweetbreu committed Oct 17, 2023
1 parent 19c8f86 commit b6c793d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions naturf/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,15 +616,13 @@ def frontal_area(frontal_length: pd.DataFrame, building_height: pd.Series) -> pd

frontal_area = frontal_length.mul(building_height, axis=0)

cols = [
frontal_area.columns = [
frontal_area_north,
frontal_area_east,
frontal_area_south,
frontal_area_west,
]

frontal_area.columns = cols

return frontal_area


Expand Down

0 comments on commit b6c793d

Please sign in to comment.