pandas

pandas is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 40 tokens per session (1,266 once invoked), scanned A, original, MIT.

A set of practices for cleaning, transforming, and analyzing table-like data with pandas, a Python library for working with rows and columns.

In plain words
What is it for?
It guides vectorized transformations, memory-efficient data types, verified joins, group calculations, window functions, chunked processing, and possible moves to Polars or DuckDB.
Why use it?
It helps avoid slow operations, excess memory use, and silent mistakes in joins, data types, and grouped calculations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It guides vectorized transformations, memory-efficient data types, verified joins, group calculations, window functions, chunked processing, and possible moves to Polars or DuckDB.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/pandas
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill pandas
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pandas

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/pandas/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/pandas)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/pandas"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/pandas/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pandas

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/pandas"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/pandas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,266 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 55
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01266
Opus 5 $0.00020 $0.00633
Sonnet 5 $0.00008 $0.00253
Haiku 4.5 $0.00004 $0.00127

Measured 13d ago against content hash 27f601a80d0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pandas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/data/pandas/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pandas

Purpose

Transform and analyze tabular data correctly and at speed. Pandas makes it easy to write code that is slow, and easier still to write code that is silently wrong.

When to Use

  • Cleaning, transforming, or analyzing tabular data in Python.
  • A pandas operation that is slow or exhausting memory.
  • Reviewing analysis code for correctness.
  • Deciding whether the dataset has outgrown pandas.

Capabilities

  • Vectorized operations and eliminating row-wise loops.
  • Memory reduction through dtype selection.
  • Merge and join semantics, including the ones that silently duplicate rows.
  • Groupby, aggregation, and window functions.
  • Chunked processing and the migration path to Polars or DuckDB.

Inputs

  • The data source, its size, and its schema.
  • The transformation or analysis required.
  • The memory available.

Outputs

  • Vectorized transformations with no iterrows.
  • Explicit dtypes, including categoricals for low-cardinality strings.
  • Joins with verified cardinality.

Workflow

  1. Set dtypes at read time — Reading a CSV without dtype gives you object columns and float64 for everything numeric. This is usually a 5-10x memory difference.
  2. Vectorize — Any for loop or iterrows over a DataFrame should be a vectorized expression, a groupby, or a merge. apply is a loop with better syntax.
  3. Verify every joinmerge(..., validate="one_to_many"). An unvalidated join that is secretly many-to-many silently multiplies your rows, and the resulting totals will be wrong in a way that is hard to notice.
  4. Aggregate with groupby, not with loops — And use named aggregation so the output columns are readable.
  5. Chunk or switch when it does not fit — Pandas holds everything in memory, typically at several times the file size. Above a few gigabytes, use chunked processing, Polars, or DuckDB.

Best Practices

  • df.iterrows() is roughly a hundred times slower than the vectorized equivalent and should essentially never appear in production code.
  • Chained assignment (df[df.a > 1]["b"] = 0) may modify a copy and silently do nothing. Use .loc[]. In pandas 3.0 copy-on-write makes this an error rather than a silent no-op — which is an improvement.
  • A merge without validate= is a bet that the join keys are unique. When that bet is wrong, you get more rows than you started with and no warning.
  • category dtype for a string column with few distinct values can reduce memory by 90% and speeds up groupby substantially.
  • inplace=True does not save memory (it usually still copies) and prevents method chaining. It has no advantages.
  • Read only the columns you need with usecols. The cheapest optimization is not loading the data.

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 122 lines · 40 tokens per session scan A 27f601a80d0f

Subscribe to this mod's changes

pandas is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (26 stars, last pushed 25d ago), licensed MIT. It adds 40 tokens to every session and 1,266 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

datarobot-setup

Sets up DataRobot for local development including Python SDK, dr-cli, Agent Assist, and all required dependencies. Use when the user has not yet worked with DataRobot on this machine, OR when any DataRobot task fails due to missing or invalid credentials. Covers first-time setup, re-authentication, and credential…

datarobot-oss/datarobot-agent-skills · 70 tokens

neo-python

Use this skill when writing, reviewing, debugging, or architecting Python 3.10+ code, including type hints, structural pattern matching, dataclasses, async/task groups, packaging-aware project structure, testability, and maintainability.

Benknightdark/neo-skills · 51 tokens

code-mentor

Comprehensive AI programming tutor offering interactive lessons, code reviews, debugging help, algorithm practice, and project guidance for Python and JavaScript. Triggers when users ask to learn a language, debug code, review their work, practice algorithms, prepare for interviews, or build a project.

serejaris/kimi-skills · 60 tokens

neo-python-manager

Use this skill when the user asks how to install, add, remove, update, or run Python dependencies; choose between uv, Poetry, venv, or pip; create/sync a virtual environment; or diagnose Python package manager setup from pyproject.toml, lock files, or requirements.txt.

Benknightdark/neo-skills · 64 tokens

agent-framework-azure-ai-py

Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.

lingxling/awesome-skills-cn · 24 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens