pandas-data-cleaning

Clean and standardize datasets from CSV or Parquet into nullable dtypes.

4|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/accolver/skill-maker --skill pandas-data-cleaning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandas-data-cleaning
Source: https://github.com/accolver/skill-maker/tree/main/workspaces/skill-maker-workspace/iteration-1/eval-data-cleaning-skill/without_skill/outputs/pandas-data-cleaning
Command: npx skills add https://github.com/accolver/skill-maker --skill pandas-data-cleaning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data cleaning is time-consuming and error-prone when done manually; this skill standardizes how to load, normalize, deduplicate, handle missing values, convert types, and save results for repeatable data pipelines.

Core Features & Use Cases

  • Load data from CSV or Parquet and treat missing values with per-column strategies.
  • Normalize column names to a consistent snake_case convention.
  • Deduplicate rows using a natural key or composite key, with options to keep first or last.
  • Convert data types to nullable dtypes (Int64, Float64, string) to preserve missing values.
  • Save cleaned data to Parquet for fast I/O and dtype preservation.

Quick Start

Run a full cleaning workflow on a dataset by loading from CSV, normalizing columns, deduplicating on a natural key, handling missing values per dtype, converting types to nullable dtypes, and saving the result to Parquet.

Frequently Asked Questions about pandas-data-cleaning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean and standardize a pandas DataFrame from CSV to Parquet?

Pandas data cleaning standardizes datasets by normalizing column names, deduplicating rows, and converting types to nullable dtypes. It loads from CSV or Parquet, applies per-dtype missing value strategies, logs applied actions, and outputs a cleaned Parquet file with index=False.

How do I handle missing values in pandas using nullable dtypes?

Handle missing values in pandas by converting columns to nullable dtypes like Int64, Float64, and string. This approach preserves missing values during data preprocessing instead of coercing them to NaN or dropping rows unnecessarily.

What is the best way to deduplicate rows in pandas using a composite key?

The best way to deduplicate rows in pandas is by using a natural or composite key, with options to keep the first or last occurrence. This removes duplicate records while retaining the most relevant row for your dataset.

Why does pandas convert missing values to NaN instead of preserving nulls?

Pandas traditionally converts missing values to NaN due to default dtype limitations. Using nullable dtypes like Int64, Float64, and string resolves this by preserving true null values alongside standard data types during cleaning.

Can I use this pandas data preprocessing workflow for sensor logs and transactional records?

Yes, this pandas data preprocessing workflow applies across common data cleaning tasks including preparing customer data, sensor logs, and transactional records, producing a standardized Parquet output for downstream pipelines.

What are the limitations of using pandas for end-to-end data cleaning pipelines?

A limitation of this pandas cleaning approach is that it strictly outputs Parquet files with index=False and requires predefined per-dtype strategies. Users must specify natural keys for deduplication and cannot export to alternative formats directly.