Skip to content

Commit

Permalink
Merge pull request #278 from SANDAG/escort_participants_fix
Browse files Browse the repository at this point in the history
Fix escort participants in visualizer
  • Loading branch information
JoeJimFlood authored Dec 12, 2024
2 parents 2f5c0f8 + c4fe67f commit 93a8eb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,4 @@ Description,Target,Expression
,origin_purpose,"np.where((trips.trip_count > 1) & (trips.trip_num==1) & (trips.outbound), 'home', origin_purpose)"
,origin_purpose,"np.where(((trips.trip_count > 1) & (trips.trip_num>1)) | ((trips.trip_count > 1) & (trips.trip_num==1) & ~(trips.outbound)), trips['purpose'].shift(1), origin_purpose)"
#AV allocation model needs column to be entirely in string format,,
,escort_participants,"np.where(trips.escort_participants.isna() | trips.escort_participants == '',trips.escort_participants,'_'+trips.escort_participants)"
,escort_participants,"np.where((trips.escort_participants.isna()) | (trips.escort_participants == ''),trips.escort_participants,'_'+trips.escort_participants)"

0 comments on commit 93a8eb0

Please sign in to comment.