layout | title |
---|---|
page |
Setup |
For this lesson, we will use rainfall data from eThekwini from December 2017. The files can be downloaded using this google link. {: .prereq}
Python is a popular language for scientific computing, and great for general-purpose programming as well. Installing all of its scientific packages individually can be a bit difficult, so we recommend an all-in-one installer.
For this workshop we use Python version 3.x.
- Pandas
- Numpy
- Matplotlib {: .prereq}
For installing these packages we will use Anaconda or Miniconda. They both use Conda, the main difference is that Anaconda comes with a lot of packages pre-installed. With Miniconda you will need to install the required packages.
Anaconda will install the workshop packages for you.
Download and install Anaconda. Remember to download and install the installer for Python 3.x.
Miniconda is a "light" version of Anaconda. If you install and use Miniconda you will also need to install the workshop packages.
Download and install Miniconda following the instructions. Remember to download and run the installer for Python 3.x.
From the terminal, type:
conda list
{: .language-bash}
From the terminal, type:
conda install -y numpy pandas matplotlib
{: .language-bash}