Xpersona
D

Data Analyst Cn Zc

CLAWHUB · Unverified

数据分析助手 - 数据清洗、统计分析、可视化建议。适合:数据分析师、产品经理、运营。 Skill: Data Analyst Cn Zc Owner: lean-zhouchao Summary: 数据分析助手 - 数据清洗、统计分析、可视化建议。适合:数据分析师、产品经理、运营。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-26T01:03:53.858Z | auto Data Analyst Assistant skill for Chinese users—provides templates and best practices for data cleaning, statistical analysis, and visualization. - Added detailed Python code templates for data reading, cleaning, analysis, and visualization. - I

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s178rxdgn3z5d3avc5xwvvghx183kh7y:data-analyst-cn-zc
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lean-zhouchao-data-analyst-cn-zc/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

8,552 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: data-analyst-cn-zc
version: 1.0.23
description: 数据分析助手 - 数据清洗、统计分析、可视化建议。适合:数据分析师、产品经理、运营。
metadata:
  openclaw:
    emoji: "📊"
    requires:
      bins: ["python3"]
---

# 数据分析助手 Skill

快速进行数据清洗、统计分析和可视化。

## 核心功能

| 功能 | 描述 |
|------|------|
| 数据清洗 | 去重、填充、格式化 |
| 统计分析 | 描述统计、相关分析 |
| 可视化 | 图表建议、代码生成 |
| 报告生成 | 自动生成分析报告 |

## 使用方法

### 分析数据

```
分析这个 CSV 文件:sales.csv
```

### 数据清洗

```
清洗这个数据集,处理缺失值和异常值
```

### 生成图表

```
为这些数据生成折线图代码
```

## Python 数据分析模板

### 读取数据

```python
import pandas as pd

# CSV
df = pd.read_csv('data.csv')

# Excel
df = pd.read_excel('data.xlsx', sheet_name='Sheet1')

# JSON
df = pd.read_json('data.json')

# 数据库
import sqlite3
conn = sqlite3.connect('database.db')
df = pd.read_sql('SELECT * FROM table', conn)

# API
import requests
response = requests.get('https://api.example.com/data')
df = pd.DataFrame(response.json())
```

### 数据预览

```python
# 基本信息
print(df.shape)        # 行列数
print(df.columns)      # 列名
print(df.dtypes)       # 数据类型
print(df.info())       # 详细信息

# 查看数据
print(df.head())       # 前 5 行
print(df.tail())       # 后 5 行
print(df.sample(5))    # 随机 5 行

# 描述统计
print(df.describe())   # 数值列统计
print(df.describe(include='all'))  # 所有列
```

### 数据清洗

```python
# 处理缺失值
df.isnull().sum()                    # 统计缺失
df.dropna()                          # 删除缺失行
df.fillna(0)                         # 填充 0
df.fillna(df.mean())                 # 填充均值
df['col'].fillna(df['col'].mode()[0])  # 填充众数

# 处理重复
df.duplicated().sum()                # 统计重复
df.drop_duplicates()                 # 删除重复
df.drop_duplicates(subset=['col'])   # 按列去重

# 数据类型转换
df['date'] = pd.to_datetime(df['date'])
df['price'] = df['price'].astype(float)
df['category'] = df['category'].astype('category')

# 异常值处理
Q1 = df['col'].quantile(0.25)
Q3 = df['col'].quantile(0.75)
IQR = Q3 - Q1
df = df[(df['col'] >= Q1 - 1.5*IQR) & (df['col'] <= Q3 + 1.5*IQR)]

# 字符串处理
df['name'] = df['name'].str.strip()
df['name'] = df['name'].str.lower()
df['name'] = df['name'].str.replace('old', 'new')
```

### 统计分析

```python
# 集中趋势
df['col'].mean()      # 均值
df['col'].median()    # 中位数
df['col'].mode()      # 众数

# 离散程度
df['col'].std()       # 标准差
df['col'].var()       # 方差
df['col'].max() - df['col'].min()  # 极差

# 分布
df['col'].skew()      # 偏度
df['col'].kurt()      # 峰度
df['col'].quantile([0.25, 0.5, 0.75])  # 分位数

# 相关分析
df.corr()             # 相关矩阵
df.corr()['target']   # 与目标的相关性

# 分组统计
df.groupby('category').agg({
    'sales': ['sum', 'mean', 'count'],
    'profit': 'mean'
})

# 交叉表
pd.crosstab(df['col1'], df['col2'])
```

### 时间序列分析

```python
# 日期处理
df['date'] = pd.to_datetime(df['date'])
df = df.set_index('date')

# 时间重采样
df.resample('D').sum()      # 按天
df.resample('W').mean()     # 按周
df.resample('M').sum()      # 按月

# 滚动统计
df['rolling_mean'] = df['col'].rolling(window=7).mean()
df['rolling_std'] = df['col'].rolling(window=7).std()

# 时间差
df['diff'] = df['col'].diff()
df['pct_change'] = df['col'].pct_change()

# 季节分解
from statsmodels.tsa.seasonal im

_meta.json

{
  "ownerId": "kn77h3j1ws389cgqcw4scgv49d81g2vg",
  "slug": "data-analyst-cn-zc",
  "version": "1.0.0",
  "publishedAt": 1774487033858
}

skill-card.md

## Description:

Chinese-language data analysis assistant for data cleaning, statistical analysis, visualization guidance, and report generation.

This skill is ready for commercial/non-commercial use.

## Publisher:

[lean-zhouchao](https://clawhub.ai/user/lean-zhouchao)

### License/Terms of Use:

MIT-0

## Use Case:

Data analysts, product managers, and operations teams use this skill to structure common data cleaning, statistical analysis, visualization, and reporting workflows in Chinese.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Generated examples may read local files, databases, or external APIs.

Mitigation: Review and adapt code before execution, use approved data sources, and avoid sending confidential data to third-party services without permission.

Risk: Analysis, statistics, and visualizations may be incomplete or misleading without business validation.

Mitigation: Validate results against the source data, domain expectations, and the business question before acting on recommendations.

Risk: Large data sets may cause memory pressure when using the provided pandas-style examples.

Mitigation: Use sampling, chunked processing, or more scalable tooling for large files, and keep backups before cleaning or transforming data.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/lean-zhouchao/skills/data-analyst-cn-zc)

## Skill Output:

**Output Type(s):** [text, markdown, code, guidance]

**Output Format:** [Markdown with Python code blocks and analysis-report templates]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Outputs are prompt guidance and example Python snippets for pandas, matplotlib, seaborn, sqlite3, requests, and statsmodels workflows.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Data Analyst Cn Zc and adjacent AI workflows.