April 2021
Intermediate to advanced
360 pages
6h 24m
English
This chapter introduces us to NumPy, a high-speed Python library for matrix calculations. Most data science/algorithmic trading libraries are built upon NumPy's functionality and conventions.
In this chapter, we are going to cover the following key topics:
The Python code used in this chapter is available in the Chapter03/numpy.ipynb notebook in the book's code repository.
Multidimensional heterogeneous arrays can be represented in Python using lists. A list is a 1D array, ...