Unofficial mirror of github.com/rougier/numpy-100. MIT. Not affiliated with or endorsed by rougier.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-26 10:29:27 +00:00
.github feat: generator workflow post-merge 2025-02-19 15:18:58 -05:00
source Merge pull request #257 from preetamvr1595/fix-q93-wording 2026-08-26 12:29:00 +02:00
.gitattributes Create .gitattributes 2019-05-23 19:48:38 +02:00
.gitignore geneartors added and new md and jupyter files created 2019-11-23 20:05:14 +00:00
100_Numpy_exercises.ipynb solutions update from 92b0e36 2026-08-26 10:29:27 +00:00
100_Numpy_exercises.md solutions update from 92b0e36 2026-08-26 10:29:27 +00:00
100_Numpy_exercises_with_hints.md solutions update from 92b0e36 2026-08-26 10:29:27 +00:00
100_Numpy_exercises_with_hints_with_solutions.md solutions update from 92b0e36 2026-08-26 10:29:27 +00:00
100_Numpy_exercises_with_solutions.md solutions update from 92b0e36 2026-08-26 10:29:27 +00:00
100_Numpy_random.ipynb solutions update from 92b0e36 2026-08-26 10:29:27 +00:00
generators.py Fixed generators (see https://github.com/didix21/mdutils/issues/69) 2022-10-17 13:43:14 +02:00
initialise.py rename and ktx source files added 2020-01-12 14:22:49 +00:00
LICENSE.txt Fix typo and add a MIT license 2016-07-15 17:11:25 -05:00
README.md Update README.md 2022-04-09 23:37:19 +03:00
requirements.txt chore: update requirements 2025-02-19 15:20:29 -05:00
runtime.txt Specify Python version 3.7 to ensure build 2023-12-03 20:42:32 -05:00

100 numpy exercises

Binder

This is a collection of numpy exercises from numpy mailing list, stack overflow, and numpy documentation. I've also created some problems myself to reach the 100 limit. The goal of this collection is to offer a quick reference for both old and new users but also to provide a set of exercises for those who teach. For extended exercises, make sure to read From Python to NumPy.

→ Test them on Binder
→ Read them on GitHub

Note: markdown and ipython notebook are created programmatically from the source data in source/exercises.ktx. To modify the content of these files, please change the text in the source and run the generators.py module with a python interpreter with the libraries under requirements.txt installed.

The keyed text format (ktx) is a minimal human readable key-values to store text (markdown or others) indexed by keys.

This work is licensed under the MIT license.
DOI

Variants in Other Languages