Skip to content

Commit d43d856

Browse files
committed
Update translation: lectures/pandas_panel.md
1 parent 301248e commit d43d856

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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)