ricardobarroslourenco / python-dask

Home Page:https://ualberta-rcg.github.io/python-dask/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Dask course

https://ualberta-rcg.github.io/python-dask/

Installing dependencies

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

Getting the notebooks

To get the notebooks that make up this course, you can either use them in Google Colab, or download them to your own computer.

Opening notebooks on Colab:

The following link should load the first notebook into Colab:

https://colab.research.google.com/github/ualberta-rcg/python-dask/blob/master/notebooks/01-introduction.ipynb

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

Getting notebooks on your computer:

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()

About

https://ualberta-rcg.github.io/python-dask/


Languages

Language:Jupyter Notebook 95.1%Language:Python 3.3%Language:Shell 1.6%