• Stars
    star
    361
  • Rank 114,027 (Top 3 %)
  • Language
    Jupyter Notebook
  • License
    Creative Commons ...
  • Created about 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Easy-to-run example notebooks for Dask

Dask Example Notebooks

This repository includes easy-to-run example notebooks for Dask. They are intended to be educational and give users a start on common workflows.

They should be easy to run locally if you download this repository. They are also available on the cloud by clicking on the link below:

Binder Build Status

Contributing

This repository is a great opportunity to start contributing to Dask. Please note that examples submitted to this repository should follow these guidelines:

  1. Run top-to-bottom without intervention from the user

  2. Not require external data sources that may disappear over time (external data sources that are highly unlikely to disappear are fine)

  3. Not be resource intensive, and should run within 2GB of memory

  4. Be clear and contain enough prose to explain the topic at hand

  5. Be concise and limited to one or two topics, such that a reader can get through the example within a few minutes of reading

  6. Be of general relevance to Dask users, and so not too specific on a particular problem or use case

    As an example "how to do dataframe joins" is a great topic while "how to do dataframe joins in the particular case when one column is a categorical and the other is object dtype" is probably too specific

  7. If the example requires a library not included in binder/environment.yml then it would be pip installed` in the first cell of the notebook, with a brief explanation about what functionality the library adds. A brief example follows:

    ### Install Extra Dependencies
    
    We first install the library X for interacting with Y
    !pip install X

Updating the Binder environment

  1. Modify binder/environment-base.yml with new or updated dependencies

  2. Run a linux/amd64 Docker container with mamba available. For example:

    docker run --platform=linux/amd64 -it --rm --mount type=bind,source=$(pwd)/binder,target=/binder condaforge/mambaforge /bin/bash

    This mounts the ./binder folder in /binder in the Docker container

  3. Create the environment

    mamba env create -f environment-base.yml

    This may take quite a while.

  4. Export the environment specification:

    mamba env export -n dask-examples --no-builds -f environment.yml

More Repositories

1

dask

Parallel computing with task scheduling
Python
12,031
star
2

dask-tutorial

Dask tutorial
Jupyter Notebook
1,817
star
3

distributed

A distributed task scheduler for Dask
Python
1,544
star
4

dask-ml

Scalable Machine Learning with Dask
Python
882
star
5

dask-kubernetes

Native Kubernetes integration for Dask
Python
309
star
6

dask-labextension

JupyterLab extension for Dask
TypeScript
306
star
7

dask-searchcv

dask-searchcv is now part of dask-ml: https://github.com/dask/dask-ml
Python
240
star
8

dask-jobqueue

Deploy Dask on job schedulers like PBS, SLURM, and SGE
Python
230
star
9

dask-docker

Docker images for dask
Jupyter Notebook
227
star
10

dask-image

Distributed image processing
Python
199
star
11

dask-xgboost

Python
163
star
12

hdfs3

A wrapper for libhdfs3 to interact with HDFS from Python
Python
136
star
13

cachey

Caching based on computation time and storage space
Python
134
star
14

dask-cloudprovider

Cloud provider cluster managers for Dask. Supports AWS, Google Cloud Azure and more...
Python
129
star
15

dask-gateway

A multi-tenant server for securely deploying and managing Dask clusters.
Python
128
star
16

dask-ec2

Start a cluster in EC2 for dask.distributed
Python
106
star
17

partd

Concurrent appendable key-value storage
Python
100
star
18

dask-tensorflow

Python
93
star
19

helm-chart

Helm charts for Dask
YAML
89
star
20

dask-lightgbm

Python
78
star
21

dask-expr

Python
77
star
22

dask-glm

Python
75
star
23

dask-yarn

Deploy dask on YARN clusters
Python
69
star
24

zict

Useful Mutable Mappings
Python
68
star
25

dask-gke

kubernetes setup to bootstrap distributed on google container engine
Python
67
star
26

old-dask-examples

Collection of dask example notebooks
Jupyter Notebook
56
star
27

knit

Deprecated, please use https://github.com/jcrist/skein or https://github.com/dask/dask-yarn instead
Python
53
star
28

dask-mpi

Deploy Dask using MPI4Py
Python
49
star
29

dask-drmaa

Deploy Dask on DRMAA clusters
Python
41
star
30

dask-stories

Python
39
star
31

dask-blog

Dask development blog
HTML
30
star
32

crick

Streaming and approximate algorithms. WIP, use at own risk.
Python
21
star
33

community

For general discussion and community planning. Discussion issues welcome.
20
star
34

dask-benchmarks

asv benchmarks for dask projects
Python
17
star
35

pandas-streaming

Python
16
star
36

mtprof

Thread-aware Python profiler hack
Python
16
star
37

dask-tutorial-infrastructure

Cluster for the Dask Tutorial.
Dockerfile
11
star
38

old-dask-yarn

Deprecated, please use https://github.com/jcrist/skein or https://github.com/dask/dask-yarn instead
Python
7
star
39

governance

The governance process and model for Dask
7
star
40

dask-sphinx-theme

Sphinx theme for Dask documentation
Python
6
star
41

dask-ml-benchmarks

Python
5
star
42

dask.github.io

Dask Website
HTML
5
star
43

scipy-tutorials-2018

5
star
44

design-docs

Experimental repo for proposals of future work
2
star
45

.github

2
star
46

dask-org

General dask resources that aren't code
Jupyter Notebook
2
star
47

marketing

Resources and guidelines for marketing Dask
Python
1
star
48

dask-gateway-helm-repo

Repository holding published dask-gateway helm charts
1
star
49

parquet-integration

Integration tests for various parquet readers and writers
Python
1
star