Skip to content

Commit

Permalink
ensure tour_type is categorical (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed May 2, 2024
1 parent 50c05c5 commit e309b84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activitysim/abm/models/util/tour_frequency.py
Expand Up @@ -791,5 +791,6 @@ def create_joint_tours(
tours["tour_type_num"] = tours["tour_type_num"].astype("int8")
tours["tour_type_count"] = tours["tour_type_count"].astype("int8")
tours["number_of_participants"] = tours["number_of_participants"].astype("int8")
tours["tour_type"] = tours["tour_type"].astype("category")

return tours

0 comments on commit e309b84

Please sign in to comment.