Numpy Arrays


Detailed Numpy documentation can be found here. Focus on sub-section What is Numpy? and the section Quickstart tutorial.

For reference, the commands we saw in class are found in

Key ideas

About Numpy:

  • NumPy is Python library written in C to provide fast numerical methods for scientific computation.
  • NumPy enables Python users to use a data structure called an array. You can conceptualize an array as an efficient implementation of a list.

Array functionality:

  • Array slicing

Active learning

Activity 1

Implement everything described in