From 251e63df37341c6ba1db6fb46779dac557609479 Mon Sep 17 00:00:00 2001 From: veronikasamborska1994 <32176660+veronikasamborska1994@users.noreply.github.com> Date: Sat, 30 Nov 2024 11:04:25 +0100 Subject: [PATCH] Update gender_statistics.py --- etl/steps/data/garden/wb/2024-06-10/gender_statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/steps/data/garden/wb/2024-06-10/gender_statistics.py b/etl/steps/data/garden/wb/2024-06-10/gender_statistics.py index 6a86c3dac38..0463d034c31 100644 --- a/etl/steps/data/garden/wb/2024-06-10/gender_statistics.py +++ b/etl/steps/data/garden/wb/2024-06-10/gender_statistics.py @@ -74,7 +74,7 @@ def run(dest_dir: str) -> None: tb = tb.pivot(index=["country", "year"], columns="wb_seriescode", values="value").reset_index() # Filter for Slovakia and the specific year range, then update the value as it was not correctly recorded (the source will change it in their next update) - tb.loc[(tb["country"] == "Slovakia") & (tb["year"].between(1971, 1993)), "sg_law_eqrm_wk"] = 1 + tb.loc[(tb["country"] == "Slovakia") & (tb["year"].between(1971, 1993)), "SG.LAW.EQRM.WK"] = 1 # Add metadata by finding the descriptions and sources using indicator codes tb = add_metadata(tb, metadata_tb)