[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-10-25 14:11:48 +00:00
parent 2952d99dfa
commit f24bd46173

View File

@ -203,7 +203,8 @@ def prepare_building_stock_data():
# heated floor area ----------------------------------------------------------
area = building_data[
(building_data.type == "Heated area [Mm²]") & (building_data.subsector != "Total")
(building_data.type == "Heated area [Mm²]")
& (building_data.subsector != "Total")
]
area_tot = area[["country", "sector", "value"]].groupby(["country", "sector"]).sum()
area = pd.concat(