Skip to main content
Run any Skill in Manus
with one click

pyrsm-pivot

Stars4
Forks2
UpdatedJune 19, 2026 at 20:17

Build pivot tables, frequency tables, and crosstabs in Python using the pyrsm library's `pivot` function. Use this skill whenever a student or analyst wants to count occurrences of categorical levels, cross-tabulate two categorical variables, compute mean/median/sum/sd of a numeric value across grouping variables, normalize a crosstab into row/column/total percentages, add row and column totals, or work with polars-first wide-format outputs. The output is a polars DataFrame, so it can be further chained with any polars expression — extensibility is a first-class part of this skill. Triggers include phrases like "make a frequency table", "crosstab cut by color", "pivot table of mean price by cut and color", "row percentages of survival by class", "count rows per group", "summarize sales by region and product", "category counts with totals", or any descriptive cross-tabulation request in a marketing/business analytics context.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
4 files
SKILL.md
readonly