refactor:pandas

Community

Refactor Pandas for speed, readability, and safety.

AuthorSnakeO
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams rewrite inefficient Pandas code by replacing loops and per-row operations with vectorized solutions, reducing complexity and improving performance and readability.

Core Features & Use Cases

  • Vectorize DataFrame transformations to replace iterrows, apply, and chained indexing with fast, readable pipelines.
  • Embrace Pandas 2.0 features like Copy-on-Write, PyArrow backend, and method chaining for safer, memory-efficient data manipulation.
  • Use cases include data cleaning, feature engineering, and large-scale data transformations while maintaining correctness and avoiding SettingWithCopyWarning.

Quick Start

Refactor a DataFrame transformation that uses a row-wise loop to a vectorized expression and wrap it in a concise pipeline.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refactor:pandas
Download link: https://github.com/SnakeO/claude-debug-and-refactor-skills-plugin/archive/main.zip#refactor-pandas

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.