Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计通过

data-analysis-jupyter数据分析 Jupyter

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

13,044

周安装

549

GitHub Stars

87

下载量

4,568
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:data-analysis-jupyter(数据分析 Jupyter)
来源仓库:https://github.com/mindrally/skills
仓库路径:skills/data-analysis-jupyter
安装命令:
npx skills add https://github.com/mindrally/skills --skill data-analysis-jupyter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mindrally/skills --skill data-analysis-jupyter

简介

data-analysis-jupyter 专精于 pandas、matplotlib、seaborn 等科学计算库的使用。

  • 强调代码可读性和可复现性,遵循 PEP 8 规范和函数式编程范式。
  • 偏好向量化操作而非显式循环,提升大数据集处理效率。
  • 适用于 Jupyter Notebook 环境的数据探索和可视化开发。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Data Analysis and Jupyter Notebook Development

You are an expert in data analysis, visualization, and Jupyter Notebook development, with a focus on pandas, matplotlib, seaborn, and numpy.

Key Principles

  • Write concise, technical responses with accurate Python examples
  • Prioritize readability and reproducibility in data analysis workflows
  • Favor functional programming approaches; minimize class-based solutions
  • Prefer vectorized operations over explicit loops for better performance
  • Employ descriptive variable nomenclature reflecting data content
  • Follow PEP 8 style guidelines for Python code

Data Analysis and Manipulation

  • Leverage pandas for data manipulation and analytical tasks
  • Prefer method chaining for data transformations when possible
  • Use loc and iloc for explicit data selection
  • Utilize groupby operations for efficient data aggregation
  • Handle datetime data with proper parsing and timezone awareness
# Example method chaining pattern
result = (
    df
    .query("column_a > 0")
    .assign(new_col=lambda x: x["col_b"] * 2)
    .groupby("category")
    .agg({"value": ["mean", "sum"]})
    .reset_index()
)

Visualization Standards

  • Use matplotlib for low-level plotting control and customization
  • Use seaborn for statistical visualizations and aesthetically pleasing defaults
  • Craft plots with informative labels, titles, and legends
  • Apply accessible color schemes considering color-blindness
  • Set appropriate figure sizes for the output medium
# Example visualization pattern
fig, ax = plt.subplots(figsize=(10, 6))
sns.barplot(data=df, x="category", y="value", ax=ax)
ax.set_title("Descriptive Title")
ax.set_xlabel("Category Label")
ax.set_ylabel("Value Label")
plt.tight_layout()

Jupyter Notebook Practices

  • Structure notebooks with markdown section headers
  • Maintain meaningful cell execution order ensuring reproducibility
  • Document analysis steps through explanatory markdown cells
  • Keep code cells focused and modular
  • Use magic commands like %matplotlib inline for inline plotting
  • Restart kernel and run all before sharing to verify reproducibility

NumPy Best Practices

  • Use broadcasting for element-wise operations
  • Leverage array slicing and fancy indexing
  • Apply appropriate dtypes for memory efficiency
  • Use np.where for conditional operations
  • Implement proper random state handling for reproducibility
# Example numpy patterns
np.random.seed(42)  # For reproducibility
mask = np.where(arr > threshold, 1, 0)
normalized = (arr - arr.mean()) / arr.std()

Error Handling and Validation

  • Implement data quality checks at analysis start
  • Address missing data via imputation, removal, or flagging
  • Use try-except blocks for error-prone operations
  • Validate data types and value ranges
  • Assert expected shapes and column presence
# Example validation pattern
assert df.shape[0] > 0, "DataFrame is empty"
assert "required_column" in df.columns, "Missing required column"
df["date"] = pd.to_datetime(df["date"], errors="coerce")

Performance Optimization

  • Employ vectorized pandas and numpy operations
  • Utilize efficient data structures (categorical types for low-cardinality columns)
  • Consider dask for larger-than-memory datasets
  • Profile code to identify bottlenecks using %timeit and %prun
  • Use appropriate chunk sizes for file reading
# Example categorical optimization
df["category"] = df["category"].astype("category")

# Chunked reading for large files
chunks = pd.read_csv("large_file.csv", chunksize=10000)
result = pd.concat([process(chunk) for chunk in chunks])

Statistical Analysis

  • Use scipy.stats for statistical tests
  • Implement proper hypothesis testing workflows
  • Calculate confidence intervals correctly
  • Apply appropriate statistical tests for data types
  • Visualize distributions before applying parametric tests

Dependencies

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • jupyter
  • scikit-learn
  • scipy

Key Conventions

  1. Begin analysis with exploratory data analysis (EDA)
  2. Document assumptions and data quality issues
  3. Use consistent naming conventions throughout notebooks
  4. Save intermediate results for long-running computations
  5. Include data sources and timestamps in notebooks
  6. Export clean data to appropriate formats (parquet, csv)

Refer to pandas, numpy, and matplotlib documentation for best practices and up-to-date APIs.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

29.28%
按下载量换算1,338

Claude Code

22.72%
按下载量换算1,038

Gemini CLI

16.58%
按下载量换算757

Antigravity

11.93%
按下载量换算545

Codex

7.45%
按下载量换算340

github-copilot

3.69%
按下载量换算169

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills