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
4 changes: 2 additions & 2 deletions python-statistics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Create and activate a virtual environment, then install the requirements:
```bash
$ python -m venv venv
$ source venv/bin/activate
(venv) $ python -m pip install -r requirements.txt -c constraints.txt
(venv) $ python -m pip install -r requirements.txt
```

The tutorial's examples were verified against the versions pinned in `constraints.txt`. Newer releases will usually work too, but NumPy 2 changed how scalars are displayed, so output from older versions won't match the tutorial exactly.
`requirements.txt` pins the versions the tutorial's examples were verified against. Newer releases will usually work too, but NumPy 2 changed how scalars are displayed, so output from older versions won't match the tutorial exactly.

## Usage

Expand Down
4 changes: 0 additions & 4 deletions python-statistics/constraints.txt

This file was deleted.

8 changes: 4 additions & 4 deletions python-statistics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy
scipy
pandas
matplotlib
numpy==2.5.3
scipy==1.18.1
pandas==3.0.5
matplotlib==3.11.2
Loading