Skip to content

Commit

Permalink
Remove resolved todo
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreenbury committed Nov 1, 2024
1 parent 82850ee commit f5b159c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions scripts/2_match_households_and_individuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,11 +879,7 @@ def get_interim_path(
) as f:
matches_hh_level_sample_list = pkl.load(f)

# TODO: check if this:
# - column is required and possibly update other scripts to add this column in-memory since it is large
# - or can use the single sample hh for the new column
# For now, updated to use the sample dictionary
## add matches_hh_level as a column in spc_edited
## add matches_hh_level_sample as a column in spc_edited
spc_edited["nts_hh_id"] = spc_edited["hid"].map(matches_hh_level_sample)

# Do the same at the df level. Add nts_hh_id_sample column to the spc df
Expand Down
1 change: 0 additions & 1 deletion scripts/3.2.3_assign_secondary_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ def merge_columns_from_other(df: pd.DataFrame, other: pd.DataFrame) -> pd.DataFr
"id",
"household",
"nts_ind_id",
# TODO: check if this column is required
"nts_hh_id",
"age_years",
"oact",
Expand Down
1 change: 0 additions & 1 deletion src/acbm/assigning/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def cols_for_assignment_all() -> list[str]:
"household",
"oact",
"nts_ind_id",
# TODO: check if this column is required
"nts_hh_id",
"age_years",
"TripDisIncSW",
Expand Down

0 comments on commit f5b159c

Please sign in to comment.