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