Move column fix for u-values for Poland

This commit is contained in:
ekatef 2023-10-25 20:33:59 +03:00
parent 2952d99dfa
commit 8ec0664253

View File

@ -155,7 +155,6 @@ def prepare_building_stock_data():
building_data["type"].replace( building_data["type"].replace(
{ {
"Covered area: heated [Mm²]": "Heated area [Mm²]", "Covered area: heated [Mm²]": "Heated area [Mm²]",
"Construction features (U-value)": "Construction features (U-values)",
"Windows ": "Window", "Windows ": "Window",
"Windows": "Window", "Windows": "Window",
"Walls ": "Wall", "Walls ": "Wall",
@ -165,6 +164,12 @@ def prepare_building_stock_data():
}, },
inplace=True, inplace=True,
) )
building_data["feature"].replace(
{
"Construction features (U-value)": "Construction features (U-values)",
},
inplace=True,
)
building_data.country_code = building_data.country_code.str.upper() building_data.country_code = building_data.country_code.str.upper()
building_data["subsector"].replace( building_data["subsector"].replace(