Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

numpy-100

> DevOps
Open source

100 numpy exercises (with solutions)

14.3K stars0 likes0 views
WebsiteGitHub

About

100 numpy exercises (with solutions)

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

  • Julia: 100 Julia Exercises.

Issues· 62 open

View all issuesOpen on GitHub
  • #263

    Exercise 79 first solution raises NameError: name 'distance' is not defined

    Updated Sep 28, 2026
  • #264

    Q52: shape mismatch between prompt and solution

    Updated Sep 28, 2026
  • #254

    Question 22 is underspecified

    Updated Jul 28, 2026
  • #219

    error with installing requirements

    Updated Jul 26, 2025
  • #238

    Q.88 incorrect answer - existing answer does not to compute borders

    Updated Jul 10, 2025
  • #222

    Unit tests / Asserting answers

    Updated Jul 2, 2025
  • #225

    Q83 doesn't directly work for floats or sparse integers

    Updated Jan 6, 2025
  • #217

    I have a better way to solve exercise 89

    Updated Oct 23, 2024
  • #218

    I have a better way to solve exercise 12

    Updated Oct 21, 2024
  • #214

    Alternative solutions for Exercises N36, N81

    Updated Oct 21, 2024

> Tags

Pythonbinderexercisesnotebooknumpy

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理