Numpy for numerical data

Numpy for numerical data#

The absolute beginner’s Numpy tutorial provides a good overview of the basic functionality of Numpy.

When reading the tutorial, please focus on the followig questions:

  • How do I create arrays from sequences?

  • How do I create other arrays (ranges of numbers, all zeros, all ones, equally spaced numbers, etc.)?

  • How to reshape an array? How to transpose an array? What is the difference?

  • How to slice arrays?