you will also find the book numpy beginner' guide second editionivan idrispackt publishing very valuable additional tutorial style guides are at scipy-lectures github comyou may also visit the official scipy tutorial at in this bookwe will use numpy version and scipy version learning numpy so let us import numpy and play bit with it for thatwe need to start the python interactive shell import numpy numpy version full_version as we do not want to pollute our namespacewe certainly should not do the followingfrom numpy import the numpy array array will potentially shadow the array package that is included in standard python insteadwe will use the following convenient shortcutimport numpy as np np array([ , , , , , ] array([ ] ndim shape ( ,we just created an array in similar way to how we would create list in python howevernumpy arrays have additional information about the shape in this caseit is one-dimensional array of five elements no surprises so far we can now transform this array in to matrix reshape(( , ) array([[ ][ ][ ]] ndim shape (