Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

pyrsm-unpivot

Estrellas4
Forks2
Actualizado19 de junio de 2026 a las 20:17

Convert wide-format data into long format (melt / gather) in Python using the pyrsm library's `unpivot` function. Use this skill whenever a student or analyst has columns that should really be rows of a categorical (Q1/Q2/Q3/Q4 → quarter; 2019/2020/2021 → year; product_a/product_b → product), needs to reshape data for plotting with plotnine, wants to feed a wide pivot table back into a long-format analysis, or generally needs to make the data "tidy" for a downstream tool. The output is a polars DataFrame the user can keep chaining onto. Triggers include phrases like "wide to long", "melt this table", "unpivot the quarters", "convert columns Q1-Q4 to a single quarter column", "reshape for plotting", "make this tidy", "tidy data", or any mention of needing long-format data after producing a wide-format summary.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
4 archivos
SKILL.md
readonly