13. Advanced Uses of “numpy”

Your introduction to the world of numpy has just begun. One of the most interesting things you can do is plot charts, building on top of numpy data types and functions. You’ll need to download and import the matplotlib package as well as numpy.

There are many things you can set, such as color, range, extent, and other factors, but getting started is simple. After covering the plotting capabilities, this chapter examines other advanced uses of the numpy package:

  • Financial applications

  • Linear algebra: dot products and outer products

  • Operations on fixed-length records of all kinds

  • Reading and writing large amounts of data

13.1 Advanced Math Operations with “numpy”

Before you start plotting curves, you’ll need to ...

Get Supercharged Python: Take Your Code to the Next Level, First Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.