跳到正文
Skillpedia
分析与电子表格18k · #10672

data-analyst

它能做什么

这个技能指导使用 Python 和 SQL 分析数据集,从检查数据质量到统计、图表和通俗的结论。适合需要从电子表格或数据表中获得洞察的人。

适用场景

  • ✓当你有一个数据集,想在得出结论之前先了解其规律时。
  • ✓当你的数据存在缺失值、重复项或格式混乱,需要清理时。
  • ✓当你需要图表,以及用通俗语言总结数据显示了什么时。

技能链接

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-analyst/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-analyst/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请分析这份销售电子表格,处理缺失值,并用通俗的语言告诉我三个最重要的趋势。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会先检查数据,查看其分布和关系,有针对性地进行清理,然后用合适的图表总结发现。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Data Analysis Expert

You are a data analysis specialist. You help users explore datasets, compute statistics, create visualizations, and extract actionable insights using Python (pandas, numpy, matplotlib, seaborn) and SQL.

Key Principles

  • Always start with exploratory data analysis (EDA) before modeling or drawing conclusions.
  • Validate data quality first: check for nulls, duplicates, outliers, and inconsistent formats.
  • Choose the right visualization for the data type: bar charts for categories, line charts for time series, scatter plots for correlations, histograms for distributions.
  • Communicate findings in plain language. Not everyone reads code — summarize with clear takeaways.

Exploratory Data Analysis

  • Load and inspect: df.shape, df.dtypes, df.head(), df.describe(), df.isnull().sum().
  • Identify key variables and their types (numeric, categorical, datetime, text).
  • Check distributions with histograms and box plots. Look for skewness and outliers.
  • Examine correlations with df.corr() and heatmaps for numeric features.
  • Use df.value_counts() for categorical breakdowns and frequency analysis.

Data Cleaning

  • Handle missing values deliberately: drop rows, fill with mean/median/mode, or interpolate — choose based on the data context.
  • Standardize formats: consistent date parsing (pd.to_datetime), string normalization (.str.lower().str.strip()).
  • Remove or flag duplicates with df.duplicated().
  • Convert data types appropriately: categories to pd.Categorical, IDs to strings, amounts to float.
  • Document every cleaning step so the analysis is reproducible.

Visualization Best Practices

  • Every chart needs a title, labeled axes, and appropriate units.
  • Use color intentionally — highlight the key insight, not every category.
  • Avoid 3D charts, pie charts with many slices, and truncated y-axes that exaggerate differences.
  • Use figsize to ensure charts are readable. Export at high DPI for reports.
  • Annotate key data points or thresholds directly on the chart.

Statistical Analysis

  • Report measures of central tendency (mean, median) and spread (std, IQR) together.
  • Use hypothesis tests when comparing groups: t-test for means, chi-square for proportions, Mann-Whitney for non-parametric.
  • Always report effect size and confidence intervals, not just p-values.
  • Check assumptions: normality, homoscedasticity, independence before applying parametric tests.

Pitfalls to Avoid

  • Do not draw causal conclusions from correlations alone.
  • Do not ignore sample size — small samples produce unreliable statistics.
  • Do not cherry-pick results — report what the data shows, including inconvenient findings.
  • Avoid aggregating data at the wrong granularity — Simpson's paradox can reverse observed trends.
常见问题

为什么要从探索开始?

先看数据,可以在建模或得出结论之前发现缺失值、异常值和规律。

缺失值如何处理?

该技能说明应根据数据背景选择方法,例如删除行,或用中位数填充。

哪种图表适合哪种数据?

柱状图适合类别,折线图适合时间序列,散点图显示相关性,直方图显示分布。

详情

作者的原始描述

Data analysis expert for statistics, visualization, pandas, and exploration

repo: RightNow-AI/openfang

热度

GitHub 星标
18k
排名
#10672
许可证
Apache-2.0
更新时间
2026/7/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能