To get the most out of this book
The code provided for this book comes in the form of Jupyter Notebooks, with the exception of Chapter 3, which is a Python file. All chapters will teach you how to install the required packages for each section.
You should already have a Python distribution installed on your development machine, either via the main Python Website or using Anaconda. An alternative is to use Google Colab.
All source code was developed and tested on MacOS (64-bit) and Google Colab.
Software/hardware covered in the book |
Operating system requirements |
Python 3.11 |
Windows, macOS, or Linux |
Jupyter lab 4.0 |
Windows, macOS, or Linux |
pandas 2.0.2 |
Windows, macOS, or Linux |
NumPy 1.24.4 |
Windows, macOS, or Linux |
Statsforecast 1.7.3 |
Windows, macOS, or Linux |
Pymc 5.11.0 |
Windows, macOS, or Linux |
Pymc-marketing 0.3.1 |
Windows, macOS, or Linux |
Statsmodels 0.14.0 |
Windows, macOS, or Linux |
Streamlit 1.24.0 |
Windows, macOS, or Linux |
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.