2 NumPy and SciPy
Numerical arrays are vectors, matrices, and tensors that are important to the speedy manipulation of data. There are two reasons that arrays are so useful: (1) they provide dramatic savings in computational time and (2) they can drastically reduce the amount of coding that is required to accomplish a task. The NumPy and SciPy packages offer a wide range of array functions and data types that will be used in almost all of the applications in this book.
2.1 Introduction to NumPy and SciPy
NumPy and SciPy are packages designed for the manipulation of arrays and scientific data. The NumPy package contains the array manipulation routines and the SciPy package contains a variety of scientific packages that are not part of the standard ...
Get Python for Bioinformatics 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.