https://github.com/callaghanmt-training/dask-tutorial
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: callaghanmt-training
- Language: Jupyter Notebook
- Default Branch: master
- Size: 3.05 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Created about 2 years ago
· Last pushed about 2 years ago
Metadata Files
Readme
README.md
Dask Tutorial
Dask provides multi-core execution on larger-than-memory datasets.
We can think of dask at a high and a low level
- High level collections: Dask provides high-level Array, Bag, and DataFrame collections that mimic NumPy, lists, and Pandas but can operate in parallel on datasets that don't fit into main memory. Dask's high-level collections are alternatives to NumPy and Pandas for large datasets.
- Low Level schedulers: Dask provides dynamic task schedulers that
execute task graphs in parallel. These execution engines power the
high-level collections mentioned above but can also power custom,
user-defined workloads. These schedulers are low-latency (around 1ms) and
work hard to run computations in a small memory footprint. Dask's
schedulers are an alternative to direct use of
threadingormultiprocessinglibraries in complex cases or other task scheduling systems likeLuigiorIPython parallel.
Different users operate at different levels but it is useful to understand
both. This tutorial will interleave between high-level use of dask.array and
dask.dataframe (even sections) and low-level use of dask graphs and
schedulers (odd sections.)
Prepare
You will need the following core libraries
conda install numpy pandas h5py Pillow matplotlib scipy toolz pytables
And a recently updated version of dask
conda/pip install dask
You may find the following libraries helpful for some exercises
pip install castra graphviz
You should clone this repository
git clone http://github.com/dask/dask-tutorial
and then run this script to prepare artificial data.
cd dask-tutorial
python prep.py
Links
- Reference
- Ask for help
-
dasktag on Stack Overflow - github issues for bug reports and feature requests
- blaze-dev mailing list for community discussion
- Please ask questions during a live tutorial
-
Outline
Introduction - slides
- Arrays - slides
* [Arrays](01-Array.ipynb)
- Task graphs and other fundamentals - slides
* [Foundations](02-Foundations.ipynb)
- DataFrames
* [DataFrames](03a-DataFrame.ipynb)
* [DataFrame Storage](03b-DataFrame-Storage.ipynb)
- Imperative Programming
* [Imperative - `do`](04-Imperative.ipynb)
- Bags of semi-structured data
* [Bag - Parallel lists](05-Bag.ipynb)
- Homework - large datasets with which to play at home
* [Homework](Homework.ipynb)
End - slides
Owner
- Name: callaghanmt-training
- Login: callaghanmt-training
- Kind: organization
- Repositories: 1
- Profile: https://github.com/callaghanmt-training
GitHub Events
Total
Last Year
Dependencies
Dockerfile
docker
- jupyter/scipy-notebook latest build