Skip to content

Commit 7851c71

Browse files
committed
Update index
1 parent 86a42b0 commit 7851c71

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

README.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
100 Numpy exercices
32
===================
43

index.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,35 @@
22
100 numpy exercises
33
===================
44

5-
-------------------------------------
65
A joint effort of the numpy community
76
-------------------------------------
87

8+
The goal is both to offer a quick reference for new and old users and to
9+
provide also a set of exercices for those who teach.
10+
11+
If you remember having asked or answered a (short) problem, you can send a pull
12+
request. The format is:
13+
14+
15+
#. Find indices of non-zero elements from [1,2,0,0,4,0]
16+
17+
.. code:: python
18+
19+
# Author: Somebody
20+
21+
print np.nonzero([1,2,0,0,4,0])
22+
23+
24+
If you can provide the assumed level of the answer, that would be even better.
25+
26+
Here is what the page looks like so far:
27+
28+
http://www.loria.fr/~rougier/teaching/numpy.100/index.html
29+
30+
(The level names came from an old-game: Dungeon Master)
31+
32+
33+
934
.. contents::
1035
:local:
1136
:depth: 1

0 commit comments

Comments
 (0)