For this chapter, we will be creating our own package for stock analysis. This makes it extremely easy for us to distribute our code and for others to use our code. The final product of this package is on GitHub at https://github.com/stefmolin/stock-analysis/tree/pandas_book. Python's package manager, pip, is capable of installing packages from GitHub and also building them locally; this leaves us with either of the following choices of how we want to proceed:
- Install from GitHub if we don't plan on editing the source code for our own use
- Clone the repository and install it on our machine in order to modify the code
If we wish to install from GitHub directly, we don't need to do anything here since this was installed when we set up our environment back in Chapter 1, Introduction to Data Analysis; however, for reference, we would do the following...