# CSV & Excel Dirty Data Clean + Basic Statistics

> Clean messy CSV and Excel files, handle duplicates and missing values, and generate descriptive statistics.

CSV & Excel Dirty Data Clean + Basic Statistics is a free AI agent skill on Agensi by Una. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Una](https://www.agensi.io/creators/una)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/csv-excel-dirty-data-clean-basic-statistics
- Tags: csv-clean, excel-clean, data-cleaning, data-stats, pandas, csv, excel

## About this skill

This skill uses pandas for stable CSV & Excel dirty data cleaning and basic descriptive statistics.
Supported input: `.csv` and `.xlsx` files.

### What it can do
1. Remove fully duplicated rows
2. Trim extra whitespace in text columns
3. Detect missing / null values
4. Standardize simple text formatting
5. Generate statistics: total rows, missing rate, unique count for each column
6. Output cleaned data file + a statistical summary report

### Limitations
- Cannot fix complex messy handwritten text, nested JSON or images
- Does not support password-protected Excel files
- Only handles flat table data (single sheet for Excel)

### How to use
Upload your CSV or XLSX dirty table file, and the skill will return the cleaned dataset and statistics summary.

## Known limitations

Max 100,000 rows. Supports .csv and .xlsx only (.xls is not supported). Cannot infer business logic or correct logical errors without explicit user instructions.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the CSV & Excel Dirty Data Clean + Basic Statistics skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific problems does this data cleaning skill solve?

This skill sanitizes messy spreadsheets by removing duplicates, handling missing values, and repairing malformed dates or text. It also generates a descriptive statistics report and a structured log of every transformation performed on your data.

### What do I need to provide for the skill to process my data?

You simply need to provide a .csv or .xlsx file along with your cleaning preferences, such as how to handle missing values and which columns should be used as key identifiers. It does not support older .xls files, PDFs, or image scans.

### What files will I receive after the data is processed?

Upon completion, you receive a cleaned version of your data file in .csv or .xlsx format, a markdown report containing basic statistics and an operation log, and the source code used for the processing.

### Are there any limitations on the size or type of data I can upload?

This skill is not suitable for files exceeding 100,000 rows or for tasks requiring advanced machine learning and hypothesis testing. It cannot automatically correct business logic errors, such as impossible age values, without your explicit instruction.

### How do I ask my agent to start the cleaning process?

To use this skill, upload your spreadsheet and tell your agent you want to clean the data. Be sure to specify your preferences for handling duplicates and missing values, and identify which columns are your key identifiers.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
