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
6 changes: 4 additions & 2 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ jobs:
env:
CRAN_REPO: https://packagemanager.posit.co/cran/__linux__/noble/2026-10-01
run: |
. .venv/bin/activate
Rscript -e 'options(repos = c(CRAN = Sys.getenv("CRAN_REPO"))); install.packages(readLines("requirements-r.txt"))'
Rscript -e 'IRkernel::installspec(name = "ir", displayname = "R", user = TRUE)'
ir_kernel_spec=$(Rscript -e 'cat(system.file("kernelspec", package = "IRkernel"))')
jupyter kernelspec install --user --replace --name ir "$ir_kernel_spec"

- name: Verify notebook kernels
run: |
Expand Down Expand Up @@ -93,7 +95,7 @@ jobs:
env:
MQB_NOTEBOOK_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
MQB_NOTEBOOK_REF: ${{ github.event.pull_request.head.sha || github.sha }}
run: PYTHONPATH="$GITHUB_WORKSPACE:$GITHUB_WORKSPACE/content/code" make test BOOK_CONFIG=content/_config_ci.yml BOOK_BUILD_ARGS=--all
run: PYTHONPATH="$GITHUB_WORKSPACE" make test BOOK_CONFIG=content/_config_ci.yml BOOK_BUILD_ARGS=--all

- name: Upload built book
uses: actions/upload-artifact@v7
Expand Down
4 changes: 2 additions & 2 deletions content/notebooks/appendix-data-python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -306,7 +306,7 @@
"MyDF = pd.DataFrame({\n",
" 'col1': ['Var1', 'Var2', 'Var3', 'Var4'],\n",
" 'col2': ['Grass', 'rabbit', 'Fox', 'Wolf'],\n",
" 'col3': [1, 2, sc.nan, 4]\n",
" 'col3': [1, 2, float('nan'), 4]\n",
"})\n",
"\n",
"MyDF"
Expand Down
Loading