From ds
Provides pandas API patterns for DataFrame operations, data cleaning, aggregation, merging, and performance optimization. Useful for generating pandas code in data loading, manipulation, or profiling workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ds:pandas-proThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert pandas API reference providing efficient data manipulation, analysis, and transformation patterns with production-grade performance. Covers DataFrame operations, data cleaning fundamentals, aggregation/groupby, merging/joining, and memory optimization for pandas 2.0+.
Expert pandas API reference providing efficient data manipulation, analysis, and transformation patterns with production-grade performance. Covers DataFrame operations, data cleaning fundamentals, aggregation/groupby, merging/joining, and memory optimization for pandas 2.0+.
Role in the ds plugin: This skill is the canonical pandas API reference for the plugin. It is invoked by /ds:eda for efficient data loading (step 3), structural profiling patterns (step 4), and groupby-based distribution analysis (step 5); by /ds:preprocess for I/O optimization (step 2) and vectorized operation patterns (step 5); by /ds:experiment for feature assembly merge patterns (step 3) and data preparation code scaffolds (step 6); and by /ds:plan for large-dataset handling strategy (step 3). Boundary with data-preprocessing: pandas-pro teaches how to call pandas methods (API syntax, parameters, best practices). data-preprocessing teaches when and how to sequence cleaning operations in a tracked pipeline with error handling and logging. For pipeline-oriented data cleaning (deduplication, imputation, outlier removal, schema validation), use the data-preprocessing skill. Boundary with scikit-learn: For in-model preprocessing inside sklearn Pipelines (scaling, encoding, imputation that participates in cross-validation), use the scikit-learn skill. Boundary with polars: For Polars expression API patterns (lazy evaluation, pl.col() expressions, Arrow-native I/O), use the polars skill. pandas-pro and polars are parallel alternatives -- for large datasets (10M+ rows or >100MB), prefer the polars skill for its lazy evaluation and streaming capabilities. pandas 2.0+ note: Patterns in this skill target pandas 2.0+. On pandas 1.x, nullable types (Int64, string), format='mixed' in pd.to_datetime(), and Arrow-backed types (string[pyarrow]) may not be available.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| DataFrame Operations | references/dataframe-operations.md | Indexing, selection, filtering, sorting, column operations |
| Data Cleaning | references/data-cleaning.md | Missing values, type conversion, string cleaning, validation |
| Aggregation & GroupBy | references/aggregation-groupby.md | GroupBy, pivot tables, crosstab, window functions, transform/apply |
| Merging & Joining | references/merging-joining.md | Merge, join, concat, combine strategies, anti-joins |
| Performance Optimization | references/performance-optimization.md | Memory profiling, vectorization, chunking, I/O optimization |
.memory_usage(deep=True).copy() when modifying subsets to avoid SettingWithCopyWarning.iterrows() unless absolutely necessarydf['A']['B']) -- use .loc[] or .iloc[].ix, .append() -- use pd.concat())When implementing pandas solutions, provide:
npx claudepluginhub andikarachman/data-science-plugin --plugin dsPerforms pandas DataFrame operations including data cleaning, aggregation, merging, and time series analysis with production-grade patterns and validation.
Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Handles data cleaning, aggregation, merging, time series, and performance optimization.
Provides Polars expression API for high-performance DataFrame operations with lazy evaluation, joins, aggregations, and I/O. Use for large datasets (10M+ rows) as pandas alternative in EDA, preprocessing, and experiments.