From fe78e751f3b330f63929d16422606d37100efac8 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 23 Mar 2026 15:30:24 +1100 Subject: [PATCH] Fix broken raw GitHub URLs for CSV data files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repo restructure (drop .myst suffix, master→main) broke two raw.githubusercontent.com URLs used in code cells: - pandas.md: test_pwt.csv → 404 (causes cache build failure) - python_advanced_features.md: test_table.csv → 404 Updated both from the old path: master/source/_static/lecture_specific/... to the current path: main/lectures/_static/lecture_specific/... --- lectures/pandas.md | 2 +- lectures/python_advanced_features.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lectures/pandas.md b/lectures/pandas.md index 3d2c809d..cec984bf 100644 --- a/lectures/pandas.md +++ b/lectures/pandas.md @@ -168,7 +168,7 @@ The dataset contains the following indicators We'll read this in from a URL using the `pandas` function `read_csv`. ```{code-cell} ipython3 -df = pd.read_csv('https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/master/source/_static/lecture_specific/pandas/data/test_pwt.csv') +df = pd.read_csv('https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/main/lectures/_static/lecture_specific/pandas/data/test_pwt.csv') type(df) ``` diff --git a/lectures/python_advanced_features.md b/lectures/python_advanced_features.md index 9d2cb574..139105ec 100644 --- a/lectures/python_advanced_features.md +++ b/lectures/python_advanced_features.md @@ -1068,7 +1068,7 @@ In summary, iterables :label: paf_ex1 ``` -Complete the following code, and test it using [this csv file](https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/master/source/_static/lecture_specific/python_advanced_features/test_table.csv), which we assume that you've put in your current working directory +Complete the following code, and test it using [this csv file](https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/main/lectures/_static/lecture_specific/python_advanced_features/test_table.csv), which we assume that you've put in your current working directory ```{code-block} python3 :class: no-execute