Skip to content

Commit

Permalink
dropping metric cols
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonerf committed May 22, 2024
1 parent b808d3e commit 410ad44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions etl/steps/data/garden/ihme_gbd/2024-05-20/gbd_cause.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ def run(dest_dir: str) -> None:
tb_dalys["metric"] = "DALYs"

# Format the tables
tb_deaths = tb_deaths.format(["country", "year", "measure", "age", "cause"], short_name="gbd_cause_deaths")
tb_dalys = tb_dalys.format(["country", "year", "measure", "age", "cause"], short_name="gbd_cause_dalys")
tb_deaths = tb_deaths.format(["country", "year", "measure", "age", "cause"], short_name="gbd_cause_deaths").drop(
columns="metric"
)
tb_dalys = tb_dalys.format(["country", "year", "measure", "age", "cause"], short_name="gbd_cause_dalys").drop(
columns="metric"
)

#
# Save outputs.
Expand Down

0 comments on commit 410ad44

Please sign in to comment.