Chapter 4. Convenience Functions for Your Convenience
As we have seen, NumPy has a great number of functions. Many of those functions exist just for convenience, and knowing them will greatly increase your productivity. This includes functions that select certain parts of your arrays (based on a Boolean condition, for instance) or manipulate polynomials. This chapter has an example of computing correlation to give you a taste of data analysis with 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 Chapter 3, Getting Familiar with Commonly Used Functions, we had one data file to play around with. Things have improved in this chapter—we now have two data files. Let's explore the data with NumPy.