Skip to content

Commit

Permalink
change demographic notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
longbui committed Nov 3, 2023
1 parent ced9012 commit 248f6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/user/vbui/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"for i in range(1, len(df)):\n",
" df.loc[i, 'lx'] = df.loc[i - 1, 'lx'] - (df.loc[i - 1, 'qx'] * df.loc[i - 1, 'lx'])\n",
"\n",
"#calculate number of death per year\n",
"#calculate number of death per age group\n",
"df[\"dx\"] = 0\n",
"for x in range(5):\n",
" if x >=4:\n",
Expand Down

0 comments on commit 248f6ef

Please sign in to comment.