Agent Skills: refactor:pandas

Refactor Pandas code to improve maintainability, readability, and performance. Identifies and fixes loops/.iterrows() that should be vectorized, overuse of .apply() where vectorized alternatives exist, chained indexing patterns, inplace=True usage, inefficient dtypes, missing method chaining opportunities, complex filters, merge operations without validation, and SettingWithCopyWarning patterns. Applies Pandas 2.0+ features including PyArrow backend, Copy-on-Write, vectorized operations, method chaining, .query()/.eval(), optimized dtypes, and pipeline patterns.

ID: snakeo/claude-debug-and-refactor-skills-plugin/refactor:pandas

Install this agent skill to your local

npx skills add snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:pandas

Skill Files

The files that make up refactor:pandas.

Download Skill

More agent skills