numpy-100 README

The project's README from github.com/rougier/numpy-100. As one markdown file: README.md.

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

numpy-100 (rougier/numpy-100)

Searching Database…

14.6K ·GitHub
What is this?A collection of 100 numpy practice exercises gathered from the numpy mailing list, Stack Overflow, and numpy documentation, with solutions included, meant as both a quick reference and teaching material.
Is this a library or just a list of exercises?It's not a library you install — it's a set of exercises distributed as markdown and an IPython notebook, generated from a source text file.
How do I start solving the exercises?Open the notebook on Binder to run it instantly in the browser, or read the exercises and solutions directly on GitHub.
Do I need anything installed to use it?Just to try the exercises, no — use Binder in the browser. Only if you want to modify the source and regenerate the markdown/notebook files do you need Python with the packages listed in requirements.txt.
Who is this aimed at?Both newcomers looking for numpy practice and people who teach numpy and need a ready-made set of exercises.
What is the ktx format mentioned in the repo?KTX (keyed text format) is a minimal human-readable key-value format used to store the exercise text, indexed by keys, from which the markdown and notebook versions are generated.
Is there more advanced material if 100 exercises aren't enough?The README recommends 'From Python to NumPy' as further reading for extended exercises.
Is this collection available in other languages or ports?Yes, there's a Julia variant called '100 Julia Exercises' linked from the README.
Creator
rougier
Size
0.6 MB
Stars
14.6K
Age
12y
Commits · 90 Days