Skip to content

Commit

Permalink
Merge branch 'develop' into feat/add_new_analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
MarieMcLaurent authored Nov 4, 2024
2 parents a01f600 + 7f73d12 commit cddd419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/hts/egt/cleaned.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def execute(context):
]]

# Household municipality
df_households["commune_id"] = df_households["RESCOMM"].astype("category")
df_households["commune_id"] = df_households["RESCOMM"].astype(str)
df_persons = pd.merge(df_persons, df_households[["household_id", "commune_id"]], how = "left")
assert np.all(~df_persons["commune_id"].isna())

Expand Down

0 comments on commit cddd419

Please sign in to comment.