This chapter was a quick tour of the power of NumPy and showed a glimpse of how it makes life easier while working with pandas. Some of the highlights from the chapter were as follows:
-
A NumPy array is a versatile data structure used for containing multidimensional homogeneous data.
-
There are a variety of methods available for slicing/dicing, creating, and manipulating an array in the NumPy package.
-
NumPy arrays have practical applications such as being the building blocks of linear algebra operations and a tool to manipulate multidimensional array data such as images and audio.
-
Arrays (or matrices) are the computational blocks used in advanced mathematical models such as neural networks.
-
NumPy arrays are the precursors of some of the essential data structures in pandas, namely Series.
-
Series are very similar to arrays. Series are one-dimensional. A...