Commit 75017f6e authored by kaghog's avatar kaghog
Browse files

fix bug

parent 87fd2467
Pipeline #104948 failed with stage
......@@ -172,8 +172,8 @@ def execute(context):
#If specific weekend context is needed for saturday or sunday
if (is_weekend_scenario & (specific_weekend_scenario != "all")):
df_source = pd.DataFrame(df[((specific_weekend_scenario == "saturday") & df["saturday"]) |
((specific_weekend_scenario == "sunday") & df["sunday"])])
df_source = pd.DataFrame(df_source[((specific_weekend_scenario == "saturday") & df_source["saturday"]) |
((specific_weekend_scenario == "sunday") & df_source["sunday"])])
df_population = context.stage("synthesis.population.sampled")
number_of_statpop_persons = len(np.unique(df_population["person_id"]))
......
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