Update index
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
100 Numpy exercices
|
100 Numpy exercices
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|||||||
27
index.rst
27
index.rst
@@ -2,10 +2,35 @@
|
|||||||
100 numpy exercises
|
100 numpy exercises
|
||||||
===================
|
===================
|
||||||
|
|
||||||
-------------------------------------
|
|
||||||
A joint effort of the numpy community
|
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::
|
.. contents::
|
||||||
:local:
|
:local:
|
||||||
:depth: 1
|
:depth: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user