Chapter 2. Introduction to Python Modules

In this chapter, we will discuss the most important issues related to Python modules, which are packages written by experts or any individual to serve a special purpose. In this book, we will use about a dozen modules in total. Thus, knowledge related to modules is critical in our understanding of Python and its application to finance. In particular, in this chapter, we will cover the following topics:

  • Introduction to Python modules
  • Introduction to NumPy
  • Introduction to SciPy
  • Introduction to matplotlib
  • Introduction to statsmodels
  • Introduction to pandas
  • Python modules related to finance
  • Introduction to the pandas_reader module
  • Two financial calculators written in Python
  • How to install a Python module
  • Module dependency ...

Get Python for Finance - Second 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.