技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dask【数据与研究】Use this repo skill for Dask, the Python parallel computing library, when working with lazy task graphs, schedulers, Dask Array, Dask DataFrame, Dask Bag/bytes IO, configuration, diagnostics, CLI usage, or contributor validation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task involves Dask's public APIs, internal task-graph model, collection workflows, configuration, diagnostics, or contributor test/build practices. Dask provides lazy parallel collections and schedulers for Python analytics: delayed objects, arrays, dataframes, bags, low-level task graphs, and local/distributed execution integrations.
python -c "import dask; print(dask.__version__)".dask --help should show config, docs, and info command groups.python scripts/dask_package_smoke.py --scheduler synchronous.dask[array] for array workflows, dask[dataframe] for dataframe workflows, dask[diagnostics] for local dashboard/profiling helpers, and dask[distributed] only when remote cluster APIs are needed.sub-skills/core-graphs-schedulers/SKILL.md for dask.delayed, compute, persist, optimize, annotations, tokenization, HighLevelGraph, low-level task specs, scheduler choice, and graph debugging.sub-skills/array-workflows/SKILL.md for dask.array, chunk planning, from_array, slicing, map_blocks, blockwise, reductions, overlap, rechunking, gufuncs, random arrays, linalg, FFT, stats, and array backend caveats.sub-skills/dataframe-workflows/SKILL.md for dask.dataframe, pandas-like APIs, CSV/Parquet/JSON/SQL IO, partitions/divisions, joins, groupby, shuffle, repartitioning, pyarrow strings, categoricals, and dask_expr query planning.sub-skills/bag-bytes-workflows/SKILL.md for dask.bag, dask.bytes, text and byte IO, JSON-like records, Avro, fsspec URLs, compression, foldby, and small-file object pipelines.sub-skills/configuration-diagnostics-cli/SKILL.md for dask.config, YAML config paths, environment variables, dask config, dask info, local profilers, progress bars, callbacks/cache, install extras, and contributor validation commands.references/installation-and-environment.md when choosing extras, verifying imports, or diagnosing optional dependency availability.references/troubleshooting.md for cross-cutting failures that affect multiple Dask collections or schedulers.references/repo-provenance.md before relying on this skill for a changed checkout; refresh the skill when commit, package version, or major evidence paths drift..compute() or .persist() inside collection methods or while defining a reusable graph unless the user explicitly wants materialization.meta objects to infer output shape/schema instead of computing sample data.with dask.config.set({...}): ... and compute(..., scheduler="synchronous") for deterministic local debugging.array.query-planning and dataframe.query-planning as import-time configuration; set them before importing the relevant collection modules in a fresh process.meta, chunks, divisions, and optional dependency requirements before changing algorithms.dask.dataframe without the dataframe extra can fail due to missing pandas or pyarrow.dask config find <key> is the safest way to diagnose where a value comes from.