Skip to content

Commit 02e57a5

Browse files
authored
Fix broken raw GitHub URLs for CSV data files (#491)
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/...
1 parent de28c3d commit 02e57a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lectures/pandas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The dataset contains the following indicators
168168
We'll read this in from a URL using the `pandas` function `read_csv`.
169169

170170
```{code-cell} ipython3
171-
df = pd.read_csv('https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/master/source/_static/lecture_specific/pandas/data/test_pwt.csv')
171+
df = pd.read_csv('https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/main/lectures/_static/lecture_specific/pandas/data/test_pwt.csv')
172172
type(df)
173173
```
174174

lectures/python_advanced_features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ In summary, iterables
11701170
:label: paf_ex1
11711171
```
11721172

1173-
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
1173+
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
11741174

11751175
```{code-block} python3
11761176
:class: no-execute

0 commit comments

Comments
 (0)