You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the term df.get('tour_category', default=False) == 'joint' is resolved by sharrow to be df['tour_category'] == 'joint' when the tour_category column is present in the input data.
Currently, in disaggregate accessibility, this expression is not further compiling down to use a categorical dtype from tour_category to convert the string comparison to an integer comparison. This might be a bug in sharrow (fails to use categorical dtype inside .get terms) or a bug in ActivitySim (tour_category isn't correctly encoded as categorical at this point in the model).
The text was updated successfully, but these errors were encountered:
In this expression (and others like it)
sandag-abm3-example/configs/resident/non_mandatory_tour_destination_sample.csv
Line 7 in 85c1ecb
the term
df.get('tour_category', default=False) == 'joint'
is resolved by sharrow to bedf['tour_category'] == 'joint'
when thetour_category
column is present in the input data.Currently, in disaggregate accessibility, this expression is not further compiling down to use a categorical dtype from
tour_category
to convert the string comparison to an integer comparison. This might be a bug in sharrow (fails to use categorical dtype inside.get
terms) or a bug in ActivitySim (tour_category
isn't correctly encoded as categorical at this point in the model).The text was updated successfully, but these errors were encountered: