Technical requirements
Before we proceed, make sure you follow these steps to prepare your Python environment:
- First, make sure you’ve installed Anaconda Navigator, Python, and the Spyder IDE, as shown in Chapter 2, Getting Started with Python for Biostatistics.
- Install the necessary packages for this exercise by navigating to Anaconda Prompt (Windows) or your Terminal (macOS/Linux):
pip install matplotlib pip install seaborn
The
pandas
andnumpy
packages will be installed automatically. - You can install any packages in the future by using
pip install
orconda install
(through Anaconda Prompt). The code to do so can be found at pypi.com (for example, you can typematplotlib pypi
in any browser and find the installation instructions on the pypi website.