Fix column with total values
This commit is contained in:
parent
1ad7035ec4
commit
2952d99dfa
@ -203,7 +203,7 @@ def prepare_building_stock_data():
|
|||||||
|
|
||||||
# heated floor area ----------------------------------------------------------
|
# heated floor area ----------------------------------------------------------
|
||||||
area = building_data[
|
area = building_data[
|
||||||
(building_data.type == "Heated area [Mm²]") & (building_data.detail != "Total")
|
(building_data.type == "Heated area [Mm²]") & (building_data.subsector != "Total")
|
||||||
]
|
]
|
||||||
area_tot = area[["country", "sector", "value"]].groupby(["country", "sector"]).sum()
|
area_tot = area[["country", "sector", "value"]].groupby(["country", "sector"]).sum()
|
||||||
area = pd.concat(
|
area = pd.concat(
|
||||||
|
Loading…
Reference in New Issue
Block a user