User Tools

Site Tools


other:python:jyp_steps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
other:python:jyp_steps [2016/01/21 16:43]
jypeter More stuff
other:python:jyp_steps [2016/01/21 17:10]
jypeter numpy, scipy...
Line 16: Line 16:
  
 [[https://​docs.python.org/​3/​|html]] - [[https://​docs.python.org/​3/​download.html|pdf]] [[https://​docs.python.org/​3/​|html]] - [[https://​docs.python.org/​3/​download.html|pdf]]
 +
 +
 +===== Numpy and Scipy =====
 +
 +Summary: Python provides //ordered// objects (e.g. lists, strings, ...) and some math operators, but you can't do real heavy computation with these. **Numpy** makes it possible to work with data arrays and using array syntax and masks (instead of explicit nested loops and tests) and the apropriate numpy functions will allow you to get performance similar to what you would get with a compiled program! **Scipy** adds more scientific functions
 +
 +How to get started?
 +  - always remember that indices start at ''​0''​ and that the last element of an array is at index ''​-1''​! Learn about indexing and slicing by manipulating a string (try '''​This document by JY is awesome!'​[::​-1]''​)
 +  - read the [[https://​docs.scipy.org/​doc/​numpy-dev/​user/​quickstart.html|Quickstart tutorial]]
 +  - have a quick look at the full documentation to know where things are
 +    - Numpy User Guide:
 +    - Numpy Reference Guide
 +    - Scipy Reference Guide
  
 ===== Matplotlib ===== ===== Matplotlib =====
other/python/jyp_steps.txt · Last modified: 2024/03/07 10:15 by jypeter