Update index

This commit is contained in:
Nicolas Rougier 2014-05-27 06:12:37 +02:00
parent 86a42b05b1
commit 7851c71d4a
2 changed files with 26 additions and 2 deletions

View File

@ -1,4 +1,3 @@
100 Numpy exercices
===================

View File

@ -2,10 +2,35 @@
100 numpy exercises
===================
-------------------------------------
A joint effort of the numpy community
-------------------------------------
The goal is both to offer a quick reference for new and old users and to
provide also a set of exercices for those who teach.
If you remember having asked or answered a (short) problem, you can send a pull
request. The format is:
#. Find indices of non-zero elements from [1,2,0,0,4,0]
.. code:: python
# Author: Somebody
print np.nonzero([1,2,0,0,4,0])
If you can provide the assumed level of the answer, that would be even better.
Here is what the page looks like so far:
http://www.loria.fr/~rougier/teaching/numpy.100/index.html
(The level names came from an old-game: Dungeon Master)
.. contents::
:local:
:depth: 1