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 ...

Get NumPy : Beginner's Guide - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.