Python is now widely used for numerical calculations and data analysis. This tutorial is an introduction to the numpy and scipy libraries, which provide high speed linear algebra, curve fitting, optimization, and machine learning algorithms. The usage of the numpy multi-dimensional array type will be covered in detail as this is the basis for a wide variety of numeric and graphics libraries in Python. Additional libraries for numerical computing, including ones that allow for GPU computations, will also be surveyed. The scipy library and how it can be effectively used with numpy arrays and other Python data structures will be discussed.
Prerequisite: If you are new to the Python programming language we strongly recommend that you also register for the “Introduction to Python” two-part tutorial.