We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72dbc5 commit 9ca05caCopy full SHA for 9ca05ca
ext-configs/trip_mode_choice_annotate_trips_preprocessor.csv
@@ -92,4 +92,4 @@ dest terminal time not counted at home,_dest_terminal_time,"np.where(inbound & l
92
#,dist_bike,od_skims['DISTBIKE']
93
#,dist_only,od_skims['DIST']
94
# added for school escorting model,,
95
-Number of school children in vehicle on trip,num_escortees,df.escort_participants.fillna('').apply(lambda x: len(x.split('_')))
+Number of school children in vehicle on trip,num_escortees,df.escort_participants.fillna('').apply(lambda x: len(x.split('_')) if len(x)>0 else 0)
0 commit comments