Skip to content

Commit d5a4f5b

Browse files
authored
🌐 [translation-sync] P2 pilot: read pandas_panel data from data-lectures (#72)
* Update translation: lectures/pandas_panel.md * Update translation: .translate/state/pandas_panel.md.yml
1 parent e0848bb commit d5a4f5b

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
source-sha: 811accdd4ed8803df3a7123ada3b560bc3110712
2-
synced-at: "2026-06-19"
3-
model: claude-sonnet-4-6
1+
source-sha: 4cacd9a2d34a306abeb9383dbbe08be02e29011d
2+
synced-at: "2026-07-17"
3+
model: claude-sonnet-5
44
mode: UPDATE
55
section-count: 6
6-
tool-version: 0.15.0
6+
tool-version: 0.16.1

lectures/pandas_panel.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sns.set_theme()
8686
可通过以下链接访问该数据集:
8787

8888
```{code-cell} ipython3
89-
url1 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python/master/source/_static/lecture_specific/pandas_panel/realwage.csv'
89+
url1 = 'https://github.com/QuantEcon/data-lectures/raw/main/lectures/realwage.csv'
9090
```
9191

9292
```{code-cell} ipython3
@@ -188,7 +188,7 @@ realwage_f.head()
188188
可通过以下链接访问该数据集:
189189

190190
```{code-cell} ipython3
191-
url2 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python/master/source/_static/lecture_specific/pandas_panel/countries.csv'
191+
url2 = 'https://github.com/QuantEcon/data-lectures/raw/main/lectures/countries.csv'
192192
```
193193

194194
```{code-cell} ipython3
@@ -456,7 +456,7 @@ plt.show()
456456
可通过以下链接访问该数据集:
457457

458458
```{code-cell} ipython3
459-
url3 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python/master/source/_static/lecture_specific/pandas_panel/employ.csv'
459+
url3 = 'https://github.com/QuantEcon/data-lectures/raw/main/lectures/employ.csv'
460460
```
461461

462462
读入 CSV 文件会返回长格式的面板数据集。使用 `.pivot_table()` 构建列中带有 `MultiIndex` 的宽格式数据框。

0 commit comments

Comments
 (0)