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
这是什么?这是一套包含 100 道 numpy 练习题的合集,题目收集自 numpy 邮件列表、Stack Overflow 和 numpy 官方文档,并附有参考答案,既可以作为快速查阅的资料,也可以用作教学材料。
这是一个库,还是只是一组练习题?它不是需要安装的库,而是一组以 markdown 和 IPython notebook 形式发布的练习题,由一个源文本文件生成。
我该如何开始做这些练习?在 Binder 上打开笔记本,即可在浏览器中立即运行;也可以直接在 GitHub 上阅读练习题和参考答案。
使用它需要先安装什么吗?只是试做练习的话不需要,直接在浏览器中使用 Binder 即可。只有当你想修改源文件并重新生成 markdown 和 notebook 文件时,才需要安装 Python 以及 requirements.txt 中列出的软件包。
这套练习主要面向谁?既面向想找 numpy 练习材料的初学者,也面向需要现成练习题的 numpy 授课老师。
仓库中提到的 ktx 格式是什么?KTX(keyed text format,带键文本格式)是一种极简、便于人类阅读的键值格式,用于按键存储练习文本;markdown 和 notebook 版本正是由它生成的。
如果 100 道题还不够,有更进阶的材料吗?README 推荐了《From Python to NumPy》作为延伸阅读,可用于进一步的拓展练习。
这套题集有其他语言版本或移植版吗?有,README 中链接了一个 Julia 版本,名为“100 Julia Exercises”。
Creator
rougier
Size
0.6 MB
Stars
14.6K
Age
12y
Commits · 90 Days