Numpy beginner tutorial
Hello everybody, I've written a numpy beginner tutorial that is available from: http://www.loria.fr/~rougier/teaching/numpy/numpy.html It has been designed around cellular automata to try to make it fun. While writing it, I tried to compile a set of exercises and make them progressively harder. For advanced levels, I thought the easiest way would be to extract simple questions (but more importantly answers) from this very mailing list in order to gather them on a single page. The goal would be both to offer a quick reference for new (and old users) and to provide also a set of exercices for those who teach. However, it's a bit harder than I thought since the mailing list is huge. I made a separate page for this: http://www.loria.fr/~rougier/teaching/numpy.100/index.html (Sources are http://www.loria.fr/~rougier/teaching/numpy.100/index.rst) (The level names came from an old-game: Dungeon Master) In order to extract questions/answers and I would need some help, if you have some free time to spare... If you remember having asked or answered a (short) problem, could you send a link to the relevant post (the one with the answer), or better, write directly the formated entry. Here is an example: #. 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. Nicolas
On Tue, May 7, 2013 at 11:54 AM, Nicolas Rougier <Nicolas.Rougier@inria.fr>wrote:
Hello everybody,
I've written a numpy beginner tutorial that is available from:
http://www.loria.fr/~rougier/teaching/numpy/numpy.html
It has been designed around cellular automata to try to make it fun.
Hi Nicolas, that looks good. You're linking to some other tutorials at the bottom, maybe you can add http://scipy-lectures.github.io/ (has both an intro and an advanced numpy tutorial). Ralf
Shame on me ! How did I forget this one... Thanks, just added it. Nicolas
Hi Nicolas, that looks good. You're linking to some other tutorials at the bottom, maybe you can add http://scipy-lectures.github.io/ (has both an intro and an advanced numpy tutorial).
Ralf
Hi, Looks nice tutorial, indeed. On Tue, May 7, 2013 at 12:54 PM, Nicolas Rougier <Nicolas.Rougier@inria.fr>wrote:
Hello everybody,
I've written a numpy beginner tutorial that is available from:
http://www.loria.fr/~rougier/teaching/numpy/numpy.html
It has been designed around cellular automata to try to make it fun.
Perhaps you could also link to http://www.scipy.org/Cookbook/GameOfLifeStrides (at least if you are planning to have exercises beyond Apprentice level). IMHO it just provides more natural view of the neighborhood via stride_tricks.
While writing it, I tried to compile a set of exercises and make them progressively harder. For advanced levels, I thought the easiest way would be to extract simple questions (but more importantly answers) from this very mailing list in order to gather them on a single page. The goal would be both to offer a quick reference for new (and old users) and to provide also a set of exercices for those who teach. However, it's a bit harder than I thought since the mailing list is huge.
I made a separate page for this:
http://www.loria.fr/~rougier/teaching/numpy.100/index.html (Sources are http://www.loria.fr/~rougier/teaching/numpy.100/index.rst)
(The level names came from an old-game: Dungeon Master)
In order to extract questions/answers and I would need some help, if you have some free time to spare...
If you remember having asked or answered a (short) problem, could you send a link to the relevant post (the one with the answer), or better, write directly the formated entry. Here is an example:
#. 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.
My 2 cents, -eat
Nicolas
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (3)
-
eat -
Nicolas Rougier -
Ralf Gommers