File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v6
12+ uses : actions/checkout@v7
1313 with :
1414 fetch-depth : 0
1515 - name : Setup Anaconda
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-latest
66 steps :
77 - name : Checkout
8- uses : actions/checkout@v6
8+ uses : actions/checkout@v7
99 with :
1010 fetch-depth : 0
1111 - name : Setup Anaconda
8080 name : execution-reports
8181 path : _build/html/reports
8282 - name : Preview Deploy to Netlify
83- uses : nwtgck/actions-netlify@v3 .0
83+ uses : nwtgck/actions-netlify@v4 .0
8484 with :
8585 publish-dir : ' _build/html/'
8686 production-branch : main
Original file line number Diff line number Diff line change 77 container :
88 image : us-docker.pkg.dev/colab-images/public/runtime:latest
99 steps :
10- - uses : actions/checkout@v6
10+ - uses : actions/checkout@v7
1111 with :
1212 ref : ${{ github.event.pull_request.head.sha }}
1313 - name : Check for dockerenv file
4343 name : execution-reports
4444 path : _build/html/reports
4545 - name : Preview Deploy to Netlify
46- uses : nwtgck/actions-netlify@v3 .0
46+ uses : nwtgck/actions-netlify@v4 .0
4747 with :
4848 publish-dir : ' _build/html/'
4949 production-branch : main
Original file line number Diff line number Diff line change 1313 steps :
1414 # Checkout the live site (html)
1515 - name : Checkout
16- uses : actions/checkout@v6
16+ uses : actions/checkout@v7
1717 with :
1818 ref : gh-pages
1919 - name : Link Checker
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v6
12+ uses : actions/checkout@v7
1313 with :
1414 fetch-depth : 0
1515 - name : Setup Anaconda
@@ -101,7 +101,7 @@ jobs:
101101 env :
102102 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
103103 - name : Deploy to Netlify
104- uses : nwtgck/actions-netlify@v3 .0
104+ uses : nwtgck/actions-netlify@v4 .0
105105 with :
106106 publish-dir : ' _build/html/'
107107 production-branch : main
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ channels:
33 - default
44dependencies :
55 - python=3.13
6- - anaconda=2025.12
6+ - anaconda=2026.06
77 - pip
88 - pip :
99 - jupyter-book==1.0.4post1
10- - quantecon-book-theme==0.20.3
10+ - quantecon-book-theme==0.21.0
1111 - sphinx-tojupyter==0.6.0
1212 - sphinxext-rediraffe==0.3.0
1313 - sphinx-exercise==1.2.1
Original file line number Diff line number Diff line change @@ -284,7 +284,8 @@ for var in varlist:
284284 # Repeat the observations according to their weights
285285 counts = list(round(df[df['year'] == year]['weights'] ))
286286 y = df[df['year'] == year][var].repeat(counts)
287- y = np.asarray(y)
287+ # `.copy()` gives a writeable array (pandas 3.0 returns a read-only one)
288+ y = np.asarray(y).copy()
288289
289290 # Shuffle the sequence to improve the plot
290291 rd.shuffle(y)
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ This lecture requires the following imports and installs before we proceed.
2020``` {code-cell} ipython3
2121:tags: [hide-output]
2222
23- !pip install quantecon_book_networks
23+ !pip install quantecon_book_networks==1.6
2424!pip install quantecon
2525!pip install pandas-datareader
2626```
You can’t perform that action at this time.
0 commit comments