6.1 Introduction
Most often during scientific computation, a series of numbers needs to be operated upon together. The list data type stores a sequence of values. All elements of list can be accessed by their index, but individual list elements can belong to any data type. Hence, a new kind of object needs to be defined, similar to list but that stores only numeric values. This data type is called an array. This data type is not built in the Python interpreter, but it is within the module numpy.
The
numpy module
carries a unique object class called array. It carries member elements ...