技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
modin【数据与研究】Guide Modin pandas-compatible, distributed dataframe, I/O, engine configuration, interoperability, and experimental extension workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task asks to use Modin as a pandas replacement, scale DataFrame/Series work across local CPUs or a cluster, configure Ray/Dask/other execution engines, read or convert tabular data, or use Modin's experimental extensions.
Install only the execution variant and optional integrations the workflow needs:
python -m pip install "modin[ray]" # Ray
python -m pip install "modin[dask]" # Dask + distributed
python -m pip install "modin[mpi]" # Unidist/MPI; requires system MPI
python -m pip install "modin[spreadsheet]" # optional widget integration
The base package requires Python 3.9+, pandas >=2.2,<2.4, NumPy, fsspec, packaging, psutil, and typing extensions. Confirm the selected engine before the first Modin operation:
python -c "import modin; import modin.pandas as pd; print(modin.__version__)"
python -m modin --versions
Read references/troubleshooting.md when installation, engine startup, dependency compatibility, or data behavior is unclear. Read references/repo-provenance.md before deciding whether this graph matches a changed Modin checkout.
read_csv, concat, groupby, apply, correctness checks: read sub-skills/core-pandas-api/SKILL.md.MODIN_* variables, resources, backend movement, logging, metrics, progress, or range partitioning: read sub-skills/engines-configuration/SKILL.md.MODIN_ENGINE, MODIN_BACKEND, and resource variables before importing/initializing Modin. Do not set a backend together with conflicting engine/storage variables.main() under if __name__ == "__main__":; this avoids Python multiprocessing spawn failures.defaulting to pandas warnings as compatibility-preserving but potentially slow materialization. Validate correctness and measure warm operations separately from engine startup.to_pandas(), to_numpy(), or a third-party consumer can collect the whole object on the driver. Bound the sample or check schema/aggregates instead.modin.experimental.* APIs and optional frontends as version-sensitive. Verify imports and a tiny local fixture before applying them to large or remote data.