All the EDA activities in this book are based on Python 3.x. So, the first and foremost requirement to run any code from this book is for you to have Python 3.x installed on your computer irrespective of the operating system. Python can be installed on your system by following the documentation on its official website: https://www.python.org/downloads/.
Here is the software that needs to be installed in order to execute the code:
Software/hardware covered in the book |
OS requirements |
Python 3.x |
Windows, macOS, Linux, or any other OS |
Python notebooks |
There are several options: Local: Jupyter: https://jupyter.org/ |
Python libraries |
NumPy, pandas, scikit-learn, Matplotlib, Seaborn, StatsModel |
We primarily used Python notebooks to execute our code. One of the reasons for that is, with them, it is relatively easy to break code into a clear structure and see the output on the fly. It is always safer to install a notebook locally. The official website holds great information on how they can be installed. However, if you do not want the hassle and simply want to start learning immediately, then Google Colab provides a great platform where you can code and execute code using both Python 2.x and Python 3.x with support for Graphics Processing Units (GPUs) and Tensor Processing Units (TPUs).
If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.