Commit ebff90f
prob_dist: read the Japan population data from data-lectures (#821)
Repoints the last dataset that #790 committed into this repo. The workbook
under _static/ is deleted; the lecture now reads the CSV published at
QuantEcon/data-lectures#33.
The cell also gets easier to read. It was
url = '_static/lecture_specific/prob_dist/japan_population_by_age.xlsx'
data = pd.read_excel(url, sheet_name='第1表', header=None, skiprows=10,
usecols=[14], names=['population'], nrows=101)
with a comment explaining what column 14 held, because the file was an
on-demand e-Stat export laid out for printing. The replacement was rebuilt
from the Statistics Bureau original by a committed builder, so the lecture
selects named columns instead.
The figures are identical: the published data are the same, value for value,
which was verified before the CSV was written.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent a453cf5 commit ebff90f
2 files changed
Lines changed: 5 additions & 9 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
139 | 135 | | |
140 | 136 | | |
141 | 137 | | |
| |||
0 commit comments