Commit 0fba4114 authored by kaghog's avatar kaghog
Browse files

match population based on specific day of the week they traveled when the option is configured

parent 9147d162
......@@ -166,8 +166,8 @@ def execute(context):
is_specific_day_scenario = specific_day != "avgworkday"
# Source are the MZ observations, for each STATPOP person, a sample is drawn from there
#specify day of the week the scenario will be generated for
df_source = pd.DataFrame(df_mz[
(is_weekend_scenario & df_mz[
"weekend"]) # use only weekend samples for a weekend scenario - maybe not needed
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment