EuroSciPy logo

EuroSciPy 2013

Brussels, Belgium - August 21-24 2013

Tutorial: Array Manipulation with Numpy

Valentin Haenel

Wed 21 2 p.m.–5:30 p.m. in H.1301

Abstract

Decription

This tutorial is a hands-on introduction to the two most basic building-blocks of the scientific Python stack: the enhanced interactive interpreter IPython and the fast numerical container Numpy. Amongst other things you will learn how to structure an interactive workflow for scientific computing and how to create and manipulate numerical data efficiently. You should have some basic familiarity with Python (variables, loops, functions) and basic command-line usage (executing commands, using history).

Outline

Ipython (45 Min)

  • Using the IPython notebook
  • Help system, magic functions, aliases and history

Numpy (2.15 hours)

  • Basic arrays, dtypes and numerical operations
  • Indexing, slicing, reshaping and broadcasting
  • Copies, views and fancy indexing
  • The tutorial will feature short bursts of small exercises every 5-10 minutes.

Package List

An install of Anaconda should be enough

  • Numpy (Version 1.6 or higher)
  • Ipython (Version 0.13 or higher)
  • Matplotlib (Version 1.2.1 or higher)

Sponsors