pandas-data-analysis

Provides decision frameworks for pandas operations including cleaning, transformation, and optimization.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/hyukudan/ai-skills --skill pandas-data-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandas-data-analysis
Source: https://github.com/hyukudan/ai-skills/tree/main/examples/skills/pandas-data-analysis
Command: npx skills add https://github.com/hyukudan/ai-skills --skill pandas-data-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you choose the most efficient and appropriate pandas operations for your data analysis tasks, preventing performance bottlenecks and improving code clarity.

Core Features & Use Cases

  • Method Selection: Guides you on when to use groupby vs. pivot_table, merge vs. concat, and apply vs. vectorized operations.
  • Data Cleaning Strategies: Provides decision frameworks for handling missing values, duplicates, and outliers.
  • Performance Optimization: Offers advice on vectorization, memory optimization, and choosing alternatives for large datasets.
  • Use Case: You have a large dataset and need to calculate the monthly sales per region. This Skill will guide you to use groupby().resample() or pivot_table() instead of a slow apply function.

Quick Start

Use the pandas-data-analysis skill to decide the best way to combine two dataframes based on a common key.

Frequently Asked Questions about pandas-data-analysis

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

FAQPage Schema
What is the best way to optimize pandas performance for large datasets?

To optimize pandas performance for large datasets, replace slow apply functions with vectorized operations, use memory optimization techniques, and leverage groupby or pivot_table for aggregations to reduce execution time.

How do I choose between pandas merge and concat for combining dataframes?

Choose pandas merge to combine dataframes based on common keys or columns, and use concat to stack dataframes vertically or horizontally without requiring shared keys for alignment.

When should I use pandas groupby vs pivot_table for data aggregation?

Use pandas groupby for multi-step data aggregation and transformation, and choose pivot_table when you need to reshape data into a 2D matrix format for straightforward cross-tabulation.

How do I handle missing values and duplicates during pandas data cleaning?

Handle missing values and duplicates during pandas data cleaning by applying decision frameworks that evaluate whether to drop, fill, or interpolate gaps based on your specific analysis requirements.

Does pandas apply vs vectorized operations matter for dataframe processing?

Pandas apply vs vectorized operations significantly matters for dataframe processing; apply processes rows iteratively causing bottlenecks, while vectorized operations execute in parallel for maximum speed.