Chapter 4. Convenience Functions for Your Convenience
As we have noticed, NumPy has a great number of functions. Many of these functions are there just for your convenience. Knowing these functions will greatly increase your productivity. This includes functions that select certain parts of your arrays (for instance, based on a Boolean condition) or manipulate polynomials. An example of computing correlation of stock returns is provided to give you a taste of data analysis in NumPy.
In this chapter, we shall cover the following topics:
Data selection and extraction
Simple data analysis
Examples of correlation of returns
Polynomials
Linear algebra functions
In the previous chapter, we had one single data file to play around with. Things have significantly improved in this chapter—we now have two data files. Let's go ahead and explore the data with NumPy.