From 6ca0be19dc79d1bda55d074b17ce693ac98f4ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=B6rl?= Date: Mon, 5 Feb 2024 10:01:25 +0100 Subject: [PATCH] fix --- data/census/filtered.py | 1 + 1 file changed, 1 insertion(+) diff --git a/data/census/filtered.py b/data/census/filtered.py index 0af7052f..35b44ece 100644 --- a/data/census/filtered.py +++ b/data/census/filtered.py @@ -15,6 +15,7 @@ def execute(context): df = context.stage("data.census.cleaned") # Household size + df_codes = context.stage("data.spatial.codes") df_size = df[["household_id"]].groupby("household_id").size().reset_index(name = "household_size2") df = pd.merge(df_codes, df_size)