Skip to content

Commit

Permalink
Update epi_macro_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erickb committed Jan 28, 2022
1 parent 4d8df7a commit 6fdb3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epi_macro_model.py
Expand Up @@ -67,7 +67,7 @@
# Calculate the "coverage", or how much of the year is represented
VA_ann_cov = VA_by_year.groupby('year')['year'].agg(size)
VA_annual.insert(0, 'coverage', round(100*minimum(VA_ann_cov/ts_per_year,1))/100)
VA_annual.to_csv('output_value_added_annual.csv', index=False)
VA_annual.to_csv('output_value_added_annual.csv', index=True)

VA['GDP'] = VA.sum(axis=1)
VA.insert(0, 'date', macro_dts)
Expand Down

0 comments on commit 6fdb3aa

Please sign in to comment.