|
|
@ -159,8 +159,8 @@ def update_survey_output(df, output_dir):
|
|
|
|
master = current_profile.copy()
|
|
|
|
master = current_profile.copy()
|
|
|
|
|
|
|
|
|
|
|
|
# Add (or update) current survey
|
|
|
|
# Add (or update) current survey
|
|
|
|
current_survey_col = df.columns[-1]
|
|
|
|
current_survey_col = current_profile.columns[-1]
|
|
|
|
master[current_survey_col] = current_profile[current_survey_col]
|
|
|
|
master[current_survey_col] = current_profile[current_survey_col].values
|
|
|
|
|
|
|
|
|
|
|
|
# Export updated results
|
|
|
|
# Export updated results
|
|
|
|
master.to_csv(csv_name, index=False)
|
|
|
|
master.to_csv(csv_name, index=False)
|
|
|
|