© Sandeep Nagar 2018
Sandeep NagarIntroduction to Python for Engineers and Scientistshttps://doi.org/10.1007/978-1-4842-3204-0_6

6. Arrays

Sandeep Nagar
(1)
New York, USA
 

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 ...

Get Introduction to Python for Engineers and Scientists: Open Source Solutions for Numerical Computation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.