data-cleaning-pipeline_skill

This skill generates end-to-end data cleaning pipelines for pandas, polars, or PySpark, removing missing values, duplicates, and outliers to improve quality.
  • TypeScript

4

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill dexploarer/claudius-skills --skill data-cleaning-pipeline

  • SKILL.md14.0 KB

Overview

This skill generates reproducible data cleaning pipelines for pandas, polars, or PySpark. It focuses on practical handling of missing values, duplicates, outliers, type conversions, text normalization, and data validation with logging and reporting.

How this skill works

Given a dataset, the skill analyzes structure and common issues, then produces a step-by-step pipeline implementing deduplication, missing-value strategies, type fixes, outlier filtering, categorical encoding, and range checks. Output includes runnable code snippets for pandas, polars, or PySpark and a cleaning report that documents all changes.

When to use it

  • You need a ready-to-run cleaning pipeline for an uploaded CSV or DataFrame
  • You want to handle missing values, choose fill strategies, or drop high-missing columns
  • You need to remove duplicates and keep a reproducible log of what changed
  • You must detect or remove outliers using IQR or z-score methods
  • You want to normalize text fields and convert column types before modeling

Best practices

  • Keep the original raw data and work on a copy; always log each cleaning step
  • Drop columns only when a clear missing-data threshold is met (e.g., >50%)
  • Use median for skewed numeric fills and mode or 'Unknown' for categorical fills
  • Validate types and ranges after conversions; retain a validation report
  • Prefer polars or PySpark for large datasets; use pandas for exploratory cleaning

Example use cases

  • Generate a pandas pipeline that removes duplicates, fills missing ages with median, encodes categories, and outputs a cleaning report
  • Create a polars script to process large CSVs: fast deduplication, null fills, date parsing, and text normalization
  • Produce a PySpark pipeline for big-data workflows that casts columns, filters out-of-range values, and writes cleaned partitions
  • Auto-generate a YAML configuration for a repeatable cleaning workflow deployed in a CI pipeline
  • Run data quality checks to find duplicate IDs, invalid emails, and out-of-range ages before model training

FAQ

Use pandas for small-to-medium datasets and exploratory work; polars for faster single-machine processing on larger files; PySpark for distributed big data.

How does the skill handle columns with many missing values?

Columns over a configurable drop threshold (commonly 50%) are dropped by default; otherwise numeric columns get median or mean fills and categoricals get mode or a placeholder like 'Unknown'.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
data-cleaning-pipeline skill by dexploarer/claudius-skills | VeilStrat