Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .translate/state/pandas_panel.md.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source-sha: 811accdd4ed8803df3a7123ada3b560bc3110712
synced-at: "2026-06-19"
model: claude-sonnet-4-6
source-sha: ff16a3ab640afc3527ebc63a4c1670a73e94e956
synced-at: "2026-07-16"
model: claude-sonnet-5
mode: UPDATE
section-count: 6
tool-version: 0.15.0
tool-version: 0.16.1
6 changes: 3 additions & 3 deletions lectures/pandas_panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ sns.set_theme()
可通过以下链接访问该数据集:

```{code-cell} ipython3
url1 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python/master/source/_static/lecture_specific/pandas_panel/realwage.csv'
url1 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/main/lectures/_static/lecture_specific/pandas_panel/realwage.csv'
```

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

```{code-cell} ipython3
url2 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python/master/source/_static/lecture_specific/pandas_panel/countries.csv'
url2 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/main/lectures/_static/lecture_specific/pandas_panel/countries.csv'
```

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

```{code-cell} ipython3
url3 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python/master/source/_static/lecture_specific/pandas_panel/employ.csv'
url3 = 'https://raw.githubusercontent.com/QuantEcon/lecture-python-programming/main/lectures/_static/lecture_specific/pandas_panel/employ.csv'
```

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