← 返回
数据分析 中文

Data Analyzer

Data analysis and visualization skill for CSV, Excel, and JSON data. Use when analyzing sales data, creating reports, generating charts, or processing e-comm...
{ "answer": "具备CSV、Excel和JSON数据分析与可视化技能,适用于分析销售数据、创建报告、生成图表或处理电商数据等场景。" }
yinanping-cpu
数据分析 clawhub v1.0.1 1 版本 99889.4 Key: 无需
★ 1
Stars
📥 883
下载
💾 284
安装
1
版本
#latest

概述

Data Analyzer

Overview

Professional data analysis skill for OpenClaw. Analyze CSV, Excel, and JSON data with statistical functions, visualizations, and automated report generation.

Features

  • CSV/Excel/JSON data processing
  • Basic statistical analysis
  • HTML report generation
  • Group-by analysis
  • E-commerce data support

Quick Start

Analyze Data

python scripts/analyze_data.py \
  --input sales.csv \
  --output report.html \
  --group-by date

Generate JSON Summary

python scripts/analyze_data.py \
  --input orders.json \
  --output summary.json

Scripts

analyze_data.py

Analyze CSV/Excel/JSON data and generate reports.

Arguments:

  • --input - Input data file
  • --output - Output report file
  • --group-by - Group data by field
  • --metrics - Metrics to calculate (comma-separated)
  • --format - Output format (html, json)

E-commerce Analytics

Taobao/Douyin Sales Analysis

# Daily sales report
python scripts/analyze_sales.py \
  --input taobao_orders.csv \
  --output daily_report.html \
  --group-by product \
  --metrics revenue,quantity,profit

# Monthly trend analysis
python scripts/generate_charts.py \
  --input monthly_sales.json \
  --charts line \
  --x-axis month \
  --y-axis revenue

Inventory Analysis

python scripts/inventory_analysis.py \
  --input stock_levels.csv \
  --output inventory_report.xlsx \
  --alert-low-stock 10

Customer Analytics

python scripts/customer_analysis.py \
  --input customers.csv \
  --output customer_segments.html \
  --segment-by purchase_frequency

Output Formats

HTML Report

Interactive report with charts and tables.

Excel Workbook

Multiple sheets with raw data, analysis, and charts.

CSV Export

Clean data for further processing.

Templates

Daily Sales Report

  • Total revenue
  • Order count
  • Top products
  • Hourly breakdown

Weekly Summary

  • Week-over-week comparison
  • Trend analysis
  • Top categories
  • Customer insights

Monthly Executive Report

  • KPI dashboard
  • Revenue breakdown
  • Growth metrics
  • Recommendations

Best Practices

  1. Clean data first - Remove duplicates, handle missing values
  2. Validate inputs - Check data types and ranges
  3. Use appropriate charts - Match chart type to data
  4. Label clearly - Add titles, axis labels, legends
  5. Export in multiple formats - HTML for viewing, CSV for further analysis

Troubleshooting

  • Import errors: Install required packages (pandas, matplotlib)
  • Memory issues: Process large files in chunks
  • Chart rendering: Check output directory permissions
  • Date parsing: Ensure consistent date formats

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 15:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,860
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,262
developer-tools

Inventory Manager

yinanping-cpu
电商库存管理,支持淘宝、抖音等平台的库存追踪、多店铺同步、供应商管理等。
★ 0 📥 1,134