Skip to content

Commit

Permalink
joint tour freq composition column
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-sijia committed May 5, 2024
1 parent e309b84 commit 0198e2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions activitysim/abm/models/joint_tour_frequency_composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ def joint_tour_frequency_composition(
households_merged["joint_tour_frequency_composition"] = (
choices.reindex(households_merged.index).fillna(no_tours_alt).astype(str)
)
households_merged["joint_tour_frequency_composition"] = households_merged[
"joint_tour_frequency_composition"
].astype("category")

households_merged["num_hh_joint_tours"] = (
joint_tours.groupby("household_id")
Expand Down

0 comments on commit 0198e2d

Please sign in to comment.