Skip to content

Commit

Permalink
Update gender_statistics.py
Browse files Browse the repository at this point in the history
  • Loading branch information
veronikasamborska1994 committed Dec 1, 2024
1 parent 4aab1d5 commit 251e63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etl/steps/data/garden/wb/2024-06-10/gender_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 251e63d

Please sign in to comment.