Ryan

Pandas Skill

データ分析v1.0.0
作者:Ryan更新日 2026-05-11pandas-skill@clawhub_yangruihan/pandas-skill
データクレンジングデータ可視化レポート作成#CSV#Data Analysis#Data Processing#Documentation

AlphaMoatによると、2026-09時点でPandas Skillのダウンロード数は2,705、スター数は1で、AIスキル全体5,078件中3,946位、データ分析では399件中300位です。

インストール数
179
ダウンロード数
2705
スター数
1
総合順位
#3,946
全体の上位 78% · データ分析の上位 76%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗752576--
SkillHub ↗17927051—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

文書では、欠損値、重複、外れ値の処理、集計、形式変換、絞り込み、集約、結合を扱います。清掃や変換はデータを変更する可能性があるため、原本を保持し、新しいファイルに結果を書き出して、後続利用の前に確認してください。

資料公開日 2026-10-27

できること

  • CSVやExcelのデータを清掃・集計する
  • 表を絞り込み、結合、再構成する
  • データ形式を変換する

使う場面

  • pandas DataFrameや表データを扱うとき
  • 原本をバックアップし、出力を確認してから利用するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

この表を分析して清掃案を示してください。原本は保持し、確認用に新しいファイルへ出力してください。

月次の推移

ダウンロード数2705
975190428332026-03 · ダウンロード数 11032026-05 · ダウンロード数 17932026-06 · ダウンロード数 19852026-07 · ダウンロード数 22382026-08 · ダウンロード数 24622026-09 · ダウンロード数 270526-0326-09
スター数1
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 12026-09 · スター数 126-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092705—1
2026-082462+10.0%1
2026-072238+12.7%-
2026-061985+10.7%-
2026-051793—-
2026-031103—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

8.4 KB・ClawHub v1.0.0
---
name: pandas-skill
description: Expert pandas skill for data manipulation, cleaning, analysis, and transformation. Use this skill when working with tabular data, CSV/Excel files, data analysis tasks, or any data processing workflow that involves pandas DataFrames. Provides executable scripts for common operations and comprehensive reference documentation.
---

# Pandas Data Processing Skill

English | [简体中文](SKILL_CN.md)

This skill provides comprehensive pandas data processing capabilities through executable scripts and reference documentation. Use this skill whenever tasks involve data manipulation, cleaning, analysis, or transformation of tabular data.
すべて表示(全 261 行)
## When to Use This Skill

Activate this skill when the user requests:

- Data cleaning operations (handling missing values, duplicates, outliers)
- Data analysis and statistical summaries
- Format conversions (CSV ↔ Excel ↔ JSON ↔ Parquet)
- Data transformation (filtering, sorting, aggregation, pivoting)
- Merging or combining multiple datasets
- Generating data quality reports
- Any pandas DataFrame operations

## Core Capabilities

### 1. Data Cleaning (`scripts/data_cleaner.py`)

Handles common data cleaning tasks with a single command:

**Usage:**
```bash
python scripts/data_cleaner.py input.csv output.csv [options]
```

**Available Options:**
- `--remove-duplicates`: Remove duplicate rows
- `--handle-missing [strategy]`: Handle missing values
  - Strategies: `drop`, `fill`, `forward`, `backward`, `mean`, `median`
- `--fill-value [value]`: Custom fill value for missing data
- `--remove-outliers`: Remove outliers using IQR or Z-score method
- `--outlier-method [method]`: Choose `iqr` or `zscore` (default: iqr)
- `--standardize-columns`: Standardize column names (lowercase, underscores)

**Example:**
```bash
python scripts/data_cleaner.py data.csv cleaned_data.csv \
    --remove-duplicates \
    --handle-missing mean \
    --remove-outliers \
    --standardize-columns
```

### 2. Data Analysis (`scripts/data_analyzer.py`)

Generates comprehensive data analysis reports:

**Usage:**
```bash
python scripts/data_analyzer.py input.csv [options]
```

**Available Options:**
- `--output, -o [file]`: Save report to file
- `--format [format]`: Output format (`json` or `text`, default: json)

**Report Includes:**
- Basic information (rows, columns, memory usage)
- Data type distribution
- Missing values analysis
- Numeric column statistics (mean, std, min, max, quartiles, skewness, kurtosis)
- Categorical column statistics (unique values, value counts)
- Correlation analysis
- Outlier detection

**Example:**
```bash
python scripts/data_analyzer.py sales_data.csv -o report.json --format json
```

### 3. Data Transformation (`scripts/data_transformer.py`)

Performs various data transformation operations through subcommands:

#### Convert Format
```bash
python scripts/data_transformer.py convert input.csv output.xlsx
```
Supports: CSV, Excel (.xlsx/.xls), JSON, Parquet, HTML

#### Merge Files
```bash
python scripts/data_transformer.py merge file1.csv file2.csv file3.csv \
    --output merged.csv \
    --how outer \
    --on key_column
```

#### Filter Data
```bash
python scripts/data_transformer.py filter data.csv \
    --query "age > 18 and city == 'Beijing'" \
    --output filtered.csv
```

#### Sort Data
```bash
python scripts/data_transformer.py sort data.csv \
    --by sales quantity \
    --descending \
    --output sorted.csv
```

#### Select Columns
```bash
python scripts/data_transformer.py select data.csv \
    --columns name age city \
    --output selected.csv
```

## Reference Documentation

The `references/` directory contains detailed documentation:

### `references/common_operations.md`

Comprehensive reference covering:
- Data reading/saving (CSV, Excel, JSON, SQL, Parquet)
- Data exploration (head, info, describe, dtypes)
- Data selection and filtering (loc, iloc, boolean indexing, query)
- Data cleaning (handling missing/duplicate values, type conversion)
- Data transformation (apply, map, sorting, column operations)
- Groupby and aggregation operations
- Pivot tables
- Merging and joining (concat, merge, join)
- Time series operations
- String operations
- Performance optimization tips

**When to use:** When Claude needs to understand pandas syntax or find the right method for a specific operation.

### `references/data_cleaning_best_practices.md`

Best practices guide covering:
- Data quality check checklist
- Missing value handling strategies with decision tree
- Outlier detection methods (IQR, Z-Score, percentile)
- Data type optimization for memory efficiency
- String cleaning techniques
- Date/time standardization
- Complete cleaning pipeline template
- Common problems and solutions
- Data validation methods

**When to use:** When designing a data cleaning workflow or deciding on the best approach for specific data quality issues.

## Workflow Guidelines

### Step 1: Initial Assessment
Always start by analyzing the data:
```bash
python scripts/data_analyzer.py input_file.csv -o analysis_report.json
```
Review the report to understand data quality, types, missing values, and potential issues.

### Step 2: Plan Cleaning Strategy
Based on the analysis report:
- Identify missing value strategy (reference: `data_cleaning_best_practices.md`)
- Determine if duplicates should be removed
- Decide on outlier handling approach
- Plan any necessary type conversions

### Step 3: Execute Cleaning
Run the data cleaner with appropriate options:
```bash
python scripts/data_cleaner.py input.csv cleaned.csv [options]
```

### Step 4: Transform as Needed
Apply any transformations (filtering, sorting, format conversion, merging):
```bash
python scripts/data_transformer.py [subcommand] [options]
```

### Step 5: Validate Results
Re-run analysis on the cleaned data to verify improvements:
```bash
python scripts/data_analyzer.py cleaned.csv -o final_report.json
```

## Common Patterns

### Pattern 1: Quick Data Quality Report
```bash
python scripts/data_analyzer.py data.csv --format text
```

### Pattern 2: Standard Cleaning Pipeline
```bash
python scripts/data_cleaner.py raw_data.csv clean_data.csv \
    --standardize-columns \
    --remove-duplicates \
    --handle-missing median \
    --remove-outliers
```

### Pattern 3: Excel to CSV with Filtering
```bash
# Convert
python scripts/data_transformer.py convert data.xlsx data.csv

# Filter
python scripts/data_transformer.py filter data.csv \
    --query "status == 'active'" \
    --output filtered.csv
```

### Pattern 4: Merge Multiple CSVs
```bash
python scripts/data_transformer.py merge *.csv \
    --output combined.csv
```

## Dependencies

Ensure pandas is installed:
```bash
pip install pandas numpy openpyxl
```

Optional for specific formats:
```bash
pip install pyarrow  # For Parquet support
pip install xlrd     # For older Excel files (.xls)
```

## Tips for Effective Use

1. **Start with analysis:** Always run the analyzer first to understand the data
2. **Incremental cleaning:** Apply cleaning operations step by step, verify each step
3. **Preserve originals:** Never overwrite original data files
4. **Check references:** Consult reference docs for complex operations or best practices
5. **Validate results:** Use the analyzer to verify cleaning effectiveness
6. **Memory efficiency:** For large files, consider using the data type optimization techniques in the reference docs
7. **Combine operations:** Chain multiple transformer commands for complex workflows

## Limitations

- Scripts work with single-machine memory constraints (for very large datasets, consider Dask)
- Time series resampling and rolling operations require custom pandas code
- Complex statistical modeling beyond basic descriptive statistics requires additional libraries
- For advanced visualizations, use matplotlib/seaborn directly

## Troubleshooting

**Import errors:** Ensure pandas and dependencies are installed
**Memory errors:** Process data in chunks or optimize dtypes (see references)
**Encoding issues:** Add `encoding='utf-8'` parameter when loading CSVs
**Date parsing issues:** Use `pd.to_datetime()` with explicit format string

For detailed pandas operations and troubleshooting, always refer to `references/common_operations.md` and `references/data_cleaning_best_practices.md`.

データ分析の人気スキル

AdMapixデータ分析

AdMapix のデータ取得層で、広告やアプリの問い合わせを API 呼び出しに変え、生の JSON だけを返します。

↓ 36.6万★ 304fly0pants
Tavily Searchデータ分析

Tavily 経由で公開ウェブを検索し、リンクと抜粋付きの構造化結果を返します。

↓ 12.2万★ 286Xiaoran Li
Data Analysisデータ分析

データベースや表計算、書き出した生データを意思決定に使える結論へ変えるデータ分析スキルです。

↓ 10.1万★ 244Iván
Stock Analysisデータ分析

Yahoo Finance のデータで株式と暗号資産を分析し、ポートフォリオを追跡するスキルです。

↓ 7.5万★ 299udiedrichsen
Stock Watcherデータ分析

ローカルのウォッチリストを管理し、銘柄コードごとに同花順の相場と足元の値動きを要約するスキルです。

↓ 6.5万★ 122Robin797860
全国招标中标查询及分析【知了标讯】データ分析

全网招中标数据查询与分析助手。当用户涉及以下任何场景时,必须使用此SKILL:查询招标/中标公告、搜索标讯、查找临期/即将到期项目、商机预测、推荐潜在投标供应商、分析公司主营业务/历史中标、查询公司上下游合作客户与供应商、分析竞争对手/竞对企业、查询Top采购单位/Top中标单位/Top中标品牌、招中标数据统计分析(按月/季/年/省份/品牌等维度)、查询品牌型号历史中标单价/价格趋势、市场分析/行业分析/采购寻源/渠道拓展等采购与投标相关场景。即使用户没有提到「知了标讯」,只要涉及招投标、采购、中标、供应商、竞争对手等关键词,都应使用本SKILL。

↓ 5.6万★ 13user_98035bfb
Blogwatcherデータ分析

ブログと RSS/Atom フィードの更新をコマンドラインで追跡します。

↓ 5.4万★ 75Peter Steinberger
Model Usageデータ分析

Codex や Claude のモデル別の利用コストを集計するスキルです。

↓ 5万★ 114Peter Steinberger

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。