技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
tensor-dataframe-core【数据与研究】Routes Mars tensor, DataFrame, session, eager-mode, and local CPU execution requests to the verified array-and-table workflow guidance.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for the everyday Mars workflows that look like NumPy,
pandas, and a local session: new_session, execute, fetch, stop_server,
tensor creation and arithmetic, DataFrame and Series creation, selection,
groupby, and small file-backed IO.
execute() return a Mars object?"mars.config.options and option_context for eager mode and related
settings.remote-and-scripts.learn-and-integrations.deployment-and-backends.references/api-reference.md for the verified API surface and representative
signatures.references/workflows.md for the step-by-step local compute path.references/troubleshooting.md for install/import, session, IO, and
path-shadowing failures.scripts/check_tensor_dataframe.py for a tiny CPU smoke that future agents
can run without reopening the source repo.mars, mars.tensor as mt, and mars.dataframe as md.mars.new_session() when you want repeatable
execution..execute() and then .fetch() only when you want the concrete value.mars.stop_server() after smoke runs that create a session..execute() rather than .to_numpy() or .to_pandas() for large values.option_context({'eager_mode': True}) only when you want immediate
execution for a short debugging session.groupby, indexing, and IO as part of the same local workflow, not as
separate skills.mars.dataframe import fails because a shadowed ray module is visible,
fix the environment first instead of rewriting the workflow.A future agent should be able to answer the usual local Mars questions from
this sub-skill alone: start a session, run a small tensor or DataFrame example,
understand the execution model, choose between execute and fetch, and
recover from the most common environment and IO issues.