Skip to content
Merged
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: 4cacd9a2d34a306abeb9383dbbe08be02e29011d
synced-at: "2026-07-17"
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 @@ -81,7 +81,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://github.com/QuantEcon/data-lectures/raw/main/lectures/realwage.csv'
Comment thread
mmcky marked this conversation as resolved.
```

```{code-cell} ipython3
Expand Down Expand Up @@ -183,7 +183,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://github.com/QuantEcon/data-lectures/raw/main/lectures/countries.csv'
Comment thread
mmcky marked this conversation as resolved.
```

```{code-cell} ipython3
Expand Down Expand Up @@ -451,7 +451,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://github.com/QuantEcon/data-lectures/raw/main/lectures/employ.csv'
Comment thread
mmcky marked this conversation as resolved.
```

خواندن فایل CSV یک مجموعه داده پانلی در فرمت طولانی را برمی‌گرداند. از `.pivot_table()` برای ساخت یک dataframe با فرمت عریض با یک `MultiIndex` در ستون‌ها استفاده کنید.
Expand Down
Loading