From 9252b4f011e9fa9e3caa19ffd2479a8a212c6f14 Mon Sep 17 00:00:00 2001 From: lucasrodes Date: Fri, 24 May 2024 17:30:26 +0200 Subject: [PATCH] fix index --- etl/steps/data/garden/who/2022-09-30/ghe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/steps/data/garden/who/2022-09-30/ghe.py b/etl/steps/data/garden/who/2022-09-30/ghe.py index 3ff16fa0187..f35ae669303 100644 --- a/etl/steps/data/garden/who/2022-09-30/ghe.py +++ b/etl/steps/data/garden/who/2022-09-30/ghe.py @@ -46,7 +46,7 @@ def run(dest_dir: str) -> None: # read dataset from meadow ds_meadow = paths.meadow_dataset - df = pd.DataFrame(ds_meadow["ghe"]) + df = pd.DataFrame(ds_meadow["ghe"]).reset_index() df = df.drop(columns="flag_level") # Load countries regions regions_dataset: Dataset = paths.load_dataset("regions")