Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jeffallan avatar

Pandas Pro

  • 4.3k installs
  • 10.8k repo stars
  • Updated May 20, 2026
  • jeffallan/claude-skills

pandas-pro is an agent skill: Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Use when working with pandas DataFrames, data clea

About

The pandas-pro skill Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Use when working with pandas DataFrames, data cleaning, aggregation, merging, or time series analysis. Invoke for data manipulation tasks such as joining DataFrames on multiple keys, pivoting tables, resampling time series, handling NaN values with interpolation or forward-fill, groupby aggregations, type conversion, or performance optimization of large datasets.. Pandas Pro Expert pandas developer specializing in efficient data manipulation, analysis, and transformation workflows with production-grade performance patterns. Core Workflow 1. **Assess data structure** — Examine dtypes, memory usage, missing values, data quality: 2. **Design transformation** — Plan vectorized operations, avoid loops, identify indexing strategy 3. **Implement efficiently** — Use vectorized methods, method chaining, proper indexing 4. **Validate results** — Check dtypes, shapes, null counts, and row counts: 5. **Optimize** — Profile memory, apply categorical types, use chunking if needed Reference Guide Load detailed guidance based on context: | Topic

  • Covers pandas-pro quick start, workflow steps, and reference pointers from SKILL.md.
  • Tagged for stage build and subphase backend in the closed Skillselion taxonomy.
  • Documents prerequisites, permissions filesystem, shell, and compatible agents.
  • Includes AEO tagMeta with task queries, keywords, and evidence quotes for discovery.
  • Cross-links related skills and generated REFERENCE.md tables where the repo provides them.

Pandas Pro by the numbers

  • 4,268 all-time installs (skills.sh)
  • +121 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #19 of 2,066 Data Science & ML skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

pandas-pro capabilities & compatibility

Capabilities
pandas pro documented workflow · quick start examples · reference parameter lookup · taxonomy aligned metadata · aeo discovery fields
Use cases
data analysis
From the docs

What pandas-pro says it does

Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Use when w
SKILL.md
npx skills add https://github.com/jeffallan/claude-skills --skill pandas-pro

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4.3k
repo stars10.8k
Security audit3 / 3 scanners passed
Last updatedMay 20, 2026
Repositoryjeffallan/claude-skills

How do I run pandas-pro correctly without guessing steps, tools, or parameters?

Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Use when working with pandas DataFrames, data cleaning, aggregation, merging, or time series analysis. In

Who is it for?

Teams using pandas-pro when SKILL.md triggers match the user request.

Skip if: Skip when the task is outside pandas-pro documented triggers or sibling skill scope.

When should I use this skill?

User mentions pandas-pro, related trigger phrases, or asks to follow this SKILL.md workflow.

What you get

Completed pandas-pro workflow with outputs and checks defined in SKILL.md.

  • pandas-pro output per SKILL.md

By the numbers

  • Stage build/backend
  • Category Data Science & ML
  • Complexity intermediate

Files

SKILL.mdMarkdownGitHub ↗

Pandas Pro

Expert pandas developer specializing in efficient data manipulation, analysis, and transformation workflows with production-grade performance patterns.

Core Workflow

1. Assess data structure — Examine dtypes, memory usage, missing values, data quality:

   print(df.dtypes)
   print(df.memory_usage(deep=True).sum() / 1e6, "MB")
   print(df.isna().sum())
   print(df.describe(include="all"))

2. Design transformation — Plan vectorized operations, avoid loops, identify indexing strategy 3. Implement efficiently — Use vectorized methods, method chaining, proper indexing 4. Validate results — Check dtypes, shapes, null counts, and row counts:

   assert result.shape[0] == expected_rows, f"Row count mismatch: {result.shape[0]}"
   assert result.isna().sum().sum() == 0, "Unexpected nulls after transform"
   assert set(result.columns) == expected_cols

5. Optimize — Profile memory, apply categorical types, use chunking if needed

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
DataFrame Operationsreferences/dataframe-operations.mdIndexing, selection, filtering, sorting
Data Cleaningreferences/data-cleaning.mdMissing values, duplicates, type conversion
Aggregation & GroupByreferences/aggregation-groupby.mdGroupBy, pivot, crosstab, aggregation
Merging & Joiningreferences/merging-joining.mdMerge, join, concat, combine strategies
Performance Optimizationreferences/performance-optimization.mdMemory usage, vectorization, chunking

Code Patterns

Vectorized Operations (before/after)

# ❌ AVOID: row-by-row iteration
for i, row in df.iterrows():
    df.at[i, 'tax'] = row['price'] * 0.2

# ✅ USE: vectorized assignment
df['tax'] = df['price'] * 0.2

Safe Subsetting with .copy()

# ❌ AVOID: chained indexing triggers SettingWithCopyWarning
df['A']['B'] = 1

# ✅ USE: .loc[] with explicit copy when mutating a subset
subset = df.loc[df['status'] == 'active', :].copy()
subset['score'] = subset['score'].fillna(0)

GroupBy Aggregation

summary = (
    df.groupby(['region', 'category'], observed=True)
    .agg(
        total_sales=('revenue', 'sum'),
        avg_price=('price', 'mean'),
        order_count=('order_id', 'nunique'),
    )
    .reset_index()
)

Merge with Validation

merged = pd.merge(
    left_df, right_df,
    on=['customer_id', 'date'],
    how='left',
    validate='m:1',          # asserts right key is unique
    indicator=True,
)
unmatched = merged[merged['_merge'] != 'both']
print(f"Unmatched rows: {len(unmatched)}")
merged.drop(columns=['_merge'], inplace=True)

Missing Value Handling

# Forward-fill then interpolate numeric gaps
df['price'] = df['price'].ffill().interpolate(method='linear')

# Fill categoricals with mode, numerics with median
for col in df.select_dtypes(include='object'):
    df[col] = df[col].fillna(df[col].mode()[0])
for col in df.select_dtypes(include='number'):
    df[col] = df[col].fillna(df[col].median())

Time Series Resampling

daily = (
    df.set_index('timestamp')
    .resample('D')
    .agg({'revenue': 'sum', 'sessions': 'count'})
    .fillna(0)
)

Pivot Table

pivot = df.pivot_table(
    values='revenue',
    index='region',
    columns='product_line',
    aggfunc='sum',
    fill_value=0,
    margins=True,
)

Memory Optimization

# Downcast numerics and convert low-cardinality strings to categorical
df['category'] = df['category'].astype('category')
df['count'] = pd.to_numeric(df['count'], downcast='integer')
df['score'] = pd.to_numeric(df['score'], downcast='float')
print(df.memory_usage(deep=True).sum() / 1e6, "MB after optimization")

Constraints

MUST DO

  • Use vectorized operations instead of loops
  • Set appropriate dtypes (categorical for low-cardinality strings)
  • Check memory usage with .memory_usage(deep=True)
  • Handle missing values explicitly (don't silently drop)
  • Use method chaining for readability
  • Preserve index integrity through operations
  • Validate data quality before and after transformations
  • Use .copy() when modifying subsets to avoid SettingWithCopyWarning

MUST NOT DO

  • Iterate over DataFrame rows with .iterrows() unless absolutely necessary
  • Use chained indexing (df['A']['B']) — use .loc[] or .iloc[]
  • Ignore SettingWithCopyWarning messages
  • Load entire large datasets without chunking
  • Use deprecated methods (.ix, .append() — use pd.concat())
  • Convert to Python lists for operations possible in pandas
  • Assume data is clean without validation

Output Templates

When implementing pandas solutions, provide: 1. Code with vectorized operations and proper indexing 2. Comments explaining complex transformations 3. Memory/performance considerations if dataset is large 4. Data validation checks (dtypes, nulls, shapes)

Documentation

Related skills

How it compares

pandas-pro implements its own SKILL.md workflow rather than a generic substitute skill.

FAQ

Who is pandas-pro for?

Agents and developers following the pandas-pro SKILL.md guidance.

When should I use pandas-pro?

When user intent matches description triggers and quick start scenarios.

Is pandas-pro safe to install?

Review the Security Audits panel before production shell or network use.

Data Science & MLanalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.