Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

pandas-skill熊猫技能

Agent Skill

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

总安装

42,432

周安装

1,748

GitHub Stars

公开资料未说明

下载量

13,736
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:pandas-skill(熊猫技能)
来源仓库:https://github.com/yangruihan/pandas-skill
安装命令:
openclaw skills install pandas-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pandas-skill

简介

数据操作、清理、分析和转换方面的专家级 Pandas 技能,适用于表格数据处理。

  • 适合在 OpenClaw 中需要辅助 Python 项目开发、测试或依赖管理时使用。
  • 通过 clawhub 安装,需结合来源仓库和 README 核验具体用法,确认权限与维护状态。
  • 涉及执行脚本或读写文件时,应先确认虚拟环境与运行目录。
  • 当前维护状态未知,建议在使用前检查更新频率与社区支持情况。

SKILL.md

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 | 简体中文

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.

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:

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:

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:

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:

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

python scripts/data_transformer.py convert input.csv output.xlsx

Supports: CSV, Excel (.xlsx/.xls), JSON, Parquet, HTML

Merge Files

python scripts/data_transformer.py merge file1.csv file2.csv file3.csv \
    --output merged.csv \
    --how outer \
    --on key_column

Filter Data

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

Sort Data

python scripts/data_transformer.py sort data.csv \
    --by sales quantity \
    --descending \
    --output sorted.csv

Select Columns

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:

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:

python scripts/data_cleaner.py input.csv cleaned.csv [options]

Step 4: Transform as Needed

Apply any transformations (filtering, sorting, format conversion, merging):

python scripts/data_transformer.py [subcommand] [options]

Step 5: Validate Results

Re-run analysis on the cleaned data to verify improvements:

python scripts/data_analyzer.py cleaned.csv -o final_report.json

Common Patterns

Pattern 1: Quick Data Quality Report

python scripts/data_analyzer.py data.csv --format text

Pattern 2: Standard Cleaning Pipeline

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

# 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

python scripts/data_transformer.py merge *.csv \
    --output combined.csv

Dependencies

Ensure pandas is installed:

pip install pandas numpy openpyxl

Optional for specific formats:

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.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

79.68%
按下载量换算10,945

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills