• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

dask/dask-examples: Easy-to-run example notebooks for Dask

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

dask/dask-examples

开源软件地址(OpenSource Url):

https://github.com/dask/dask-examples

开源编程语言(OpenSource Language):

Jupyter Notebook 97.1%

开源软件介绍(OpenSource Introduction):

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



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap