Repository navigation
Commit a09db42
authored
Read life-expectancy and usa-gini from data-lectures (#834)
Wave A4 of the datasets migration: the last two Track A CSVs moved to
QuantEcon/data-lectures in QuantEcon/data-lectures#74, which is on `main` and
serving both files. Three URLs.
All three land on `raw.githubusercontent.com` — one spelling for reads and
downloads alike, matching the decision taken during the high_dim_data fold. It
drops a redirect hop and avoids the two-hosts-in-one-file split that the
"harmonise these forms" class of fix has broken before. Note this differs from
the older `github.com/.../raw/` form used by earlier repoint sets in this repo;
harmonising those is a separate sweep, not this PR.
Left alone on purpose:
simple_linear_regression.md `cols = [... 'Life expectancy at birth
(historical)' ...]`. The migrated bytes are byte-identical to intro's, so
the old column label is still correct. Upstream OWID has since renamed four
of eight columns and halved the row count; that delta is recorded in the
new manifest and registered on QuantEcon/data-lectures#39. Adopting it is a
content change, not a repoint.
inequality.md the `[This notebook]` link to intro's
`_static/.../data.ipynb`. It points at a notebook, not a dataset, and that
notebook stays in lecture-python-intro.
Verified rather than assumed. Line numbers re-derived immediately before
editing. Both targets serve 200 with `access-control-allow-origin: *` and
sha256 matching the manifests (ec5d3235… / bed9074a…). Old and new URLs produce
IDENTICAL frames under the lecture's own code: both read_csv calls in
simple_linear_regression (10x8 and 62156x4), `.dropna()` at 12,445 rows — which
is what the prose asserts — the `Year == 2018` filter at 166 rows that drives
the fitted scatter, and inequality's 20x3 with an identical index. So this
cannot change a figure.
Intro KEEPS both committed copies. Deleting them is phase 2 and is gated on
this repo publishing AND on lecture-intro.zh-cn and test-actions-lecture-intro
republishing — merging a repoint changes main, not a tag-gated published site.
That gap is what QuantEcon/workspace-lectures#28 recorded.1 parent 77e553a commit a09db42
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| |||
0 commit comments