https://ualberta-rcg.github.io/python-dask/
To install the dependencies, run the following at the command line:
pip install jupyter pandas numpy dask distributed graphviz bokeh dask_jobqueue mimesis requests matplotlib
Or in a Jupyter notebook:
!pip install pandas numpy dask distributed graphviz bokeh dask_jobqueue mimesis requests matplotlib
To get the notebooks that make up this course, you can either use them in Google Colab, or download them to your own computer.
The following link should load the first notebook into Colab:
If you are in Colab already and you want to load the notebooks, you can also do:
- Go to File->Open notebook
- Select "Github" tab
- Organization: ualberta-rcg (important: press enter)
- Repository: ualberta-rcg/python-dask
- Choose the notebook you want
Either use git to clone the repository at Github:
git clone https://github.com/ualberta-rcg/python-dask.git
... or click here to download from your browser: https://github.com/ualberta-rcg/python-dask/archive/master.zip
... or run the following in a Jupyter notebook on your computer:
# Downloads and extracts to python-dask-master directory
# Warning (overwrites notebooks if they exist)
import os, urllib.request, zipfile
def get_notebooks():
url = 'https://github.com/ualberta-rcg/python-dask/archive/master.zip'
zip_file = 'python-dask.zip'
if os.path.exists(zip_file): return
urllib.request.urlretrieve(url, zip_file)
with zipfile.ZipFile(zip_file) as zip_ref:
zip_ref.extractall()
get_notebooks()