← Open Source

100 numpy exercises (with solutions).

TutorialsTool-specific tutorialsGetting startedPython
Momentum
+2stars in 24 hours+0.0%
14.7k
Stars
7.00k
Forks
+12
This week
58
Contributors
Created 2014-05-27 · Updated 2026-12-06 · #3499 today
Top developers
rougierSebastianoFibah
README

100 numpy exercises

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.

Variants in Other Languages

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store