Skip to content
Merged
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions lectures/pandas_panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ countries and assign it to `realwage`.
The dataset can be accessed with the following link:

```{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/lecture-python-programming/raw/refs/heads/main/lectures/_static/lecture_specific/pandas_panel/realwage.csv'
Comment thread
Copilot marked this conversation as resolved.
Outdated
```

```{code-cell} ipython3
Expand Down Expand Up @@ -197,7 +197,7 @@ function.
The dataset can be accessed with the following link:

```{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/lecture-python-programming/raw/refs/heads/main/lectures/_static/lecture_specific/pandas_panel/countries.csv'
Comment thread
Copilot marked this conversation as resolved.
Outdated
```

```{code-cell} ipython3
Expand Down Expand Up @@ -506,7 +506,7 @@ in Europe by age and sex from [Eurostat](https://ec.europa.eu/eurostat/data/data
The dataset can be accessed with the following link:

```{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/lecture-python-programming/raw/refs/heads/main/lectures/_static/lecture_specific/pandas_panel/employ.csv'
Comment thread
Copilot marked this conversation as resolved.
Outdated
```

Reading in the CSV file returns a panel dataset in long format. Use `.pivot_table()` to construct
Expand Down
Loading