In this chapter, we covered a lot of information related to the NumPy package, especially commonly used functions that are very helpful to process and analyze data in ndarray
. Firstly, we learned the properties and data type of ndarray
in the NumPy package. Secondly, we focused on how to create and manipulate an ndarray
in different ways, such as conversion from other structures, reading an array from disk, or just generating a new array with given values. Thirdly, we studied how to access and control the value of each element in ndarray
by using indexing and slicing.
Then, we are getting familiar with some common functions and operations on ndarray
.
And finally, we continue with some advance functions that are related to statistic, linear algebra and sampling data. Those functions play important role in data analysis.
However, while NumPy by itself does not provide very much high-level data analytical functionality, having an understanding of it will help you use tools such as Pandas...