Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c2754ed
Refactor introduction and update contributor list
hathawayj Apr 14, 2026
f1ddaa1
Create build_book.yaml
hathawayj Apr 14, 2026
4b78eaf
Add GitHub Actions workflow for Quarto book build
hathawayj Apr 14, 2026
7c8012c
Delete .github/workflows/build_book.yaml
hathawayj Apr 14, 2026
17052a5
Update GitHub Actions workflow for book build
hathawayj Apr 14, 2026
363f420
Delete .github/workflows/build_book2.yaml
hathawayj Apr 14, 2026
f8097a9
Update pyproject.toml
hathawayj Apr 14, 2026
3fa7910
Update spreadsheet.ipynb and databases.ipynb to replace pandas with p…
brentomagic Apr 17, 2026
9886acc
Updated Data Visualization notebook
ugohuche Apr 22, 2026
97c56c3
WIP: Data Transformation
ugohuche Apr 22, 2026
e745615
Replace pandas with polars in rectangling.ipynb and webscraping-and-a…
brentomagic Apr 22, 2026
89fdd7b
Remove obsolete Quarto notebooks: visualise.quarto_ipynb_1, workflow-…
brentomagic Apr 22, 2026
af97f71
Refactor code and structure to polars for improved readability and ma…
ugohuche Apr 23, 2026
3391c7d
Refactor code and structure to polars
ugohuche Apr 23, 2026
032cd4d
Minor edit to data-transform.ipynb
ugohuche Apr 23, 2026
c015995
Remove unnecessary output and reset execution count in data visualisa…
ugohuche Apr 23, 2026
abdca1f
Reformat YAML workflow for improved readability and consistency
ugohuche Apr 23, 2026
18fb95a
Update workflow and notebooks for improved code execution and style c…
ugohuche Apr 23, 2026
e48a82d
Merge branch 'main' into brent-IMPORT
ugohuche Apr 23, 2026
d174e80
Refactor webscraping-and-apis notebook:
ugohuche Apr 23, 2026
1dcd47b
Update spreadsheet.ipynb and databases.ipynb to replace pandas with p…
brentomagic Apr 17, 2026
369bd45
Replace pandas with polars in rectangling.ipynb and webscraping-and-a…
brentomagic Apr 22, 2026
da6546b
Remove obsolete Quarto notebooks: visualise.quarto_ipynb_1, workflow-…
brentomagic Apr 22, 2026
11062ba
Remove obsolete Quarto notebooks: visualise.quarto_ipynb_1, workflow-…
brentomagic Apr 23, 2026
38d6a83
Refactor code structure for improved readability and maintainability
ugohuche Apr 23, 2026
40807b3
Merge branch 'brent-IMPORT' of https://github.com/datathink/python4DS…
ugohuche Apr 23, 2026
07dcbb0
Refactor notebook content for improved readability and formatting
ugohuche Apr 23, 2026
5bf8a88
Merge pull request #1 from datathink/brent-IMPORT
ugohuche Apr 23, 2026
cfd741d
Update functions.ipynb to replace pandas with polars, enhance output …
brentomagic Apr 24, 2026
93ffcd0
Refactor data-import and data-transform notebooks to replace pandas w…
ugohuche Apr 24, 2026
94e1218
Merge branch 'main' of https://github.com/datathink/python4DSpolars
ugohuche Apr 24, 2026
3d8929c
Refactor functions.ipynb to remove output displays and execution coun…
ugohuche Apr 24, 2026
05832e7
Updated workflow-styles
ugohuche Apr 24, 2026
213a5e6
Merge pull request #2 from datathink/workflow-styles
brentomagic Apr 28, 2026
ea297ed
Update notebooks to enhance execution counts and output displays
brentomagic Apr 28, 2026
2ae8c35
Enhance command line documentation and update notebook outputs
brentomagic Apr 28, 2026
d93ca65
Refactor notebooks to reset execution counts and clear outputs
brentomagic Apr 28, 2026
a686cb5
Merge pull request #4 from datathink/brent-programme
ugohuche May 1, 2026
03e70f9
refactor: replace pandas with polars in vis-layers.ipynb data process…
Jul 12, 2026
a1e1d0d
style: run pre-commit on vis-layers notebook to format and clean code
Jul 14, 2026
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
104 changes: 52 additions & 52 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
name: tests

on:
push:
branches: [main]
pull_request:
push:
branches: [main]
pull_request:

concurrency:
group: tests-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: tests-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: pre-commit/action@v3.0.1

build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python
run: uv python install

- name: Install dependencies
run: uv sync --all-extras --dev

- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.5.57"

- name: set timezone
run: |
TZ="Europe/London" &&
sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime

- name: install linux deps
run: |
sudo apt-get -y install openssl graphviz nano texlive graphviz-dev unzip build-essential

- name: build the book
run: |
uv run quarto render --execute

- name: success
run: |
echo "Success in building book without errors!"
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: pre-commit/action@v3.0.1

build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python
run: uv python install

- name: Install dependencies
run: uv sync --all-extras --dev

- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.5.57"

- name: set timezone
run: |
TZ="Europe/London" &&
sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime

- name: install linux deps
run: |
sudo apt-get -y install openssl graphviz nano texlive graphviz-dev unzip build-essential

- name: build the book
run: |
uv run quarto render --execute

- name: success
run: |
echo "Success in building book without errors!"
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ book:
author: "The Py4DS Community"
favicon: favicon.ico
cover-image: logo.png
repo-url: https://github.com/aeturrell/python4DS
repo-url: https://github.com/datathink/python4DSpolars
repo-branch: main
repo-actions: [edit, issue]
google-analytics: "G-LXJC37BJVX"
Expand Down
2 changes: 1 addition & 1 deletion boolean-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.12"
"version": "3.12.13"
},
"toc-showtags": true
},
Expand Down
2 changes: 1 addition & 1 deletion categorical-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.12"
"version": "3.12.13"
},
"toc-showtags": true
},
Expand Down
88 changes: 44 additions & 44 deletions command-line.md

Large diffs are not rendered by default.

Loading