category-statistics

Compute per-category counts and proportions from categorical columns in tabular data.

2|Updated May 19, 2026
One-click install
npx skills add https://github.com/aiyinluya/SenseNova-Skills-Studio --skill category-statistics-aiyinluya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: category-statistics
Source: https://github.com/aiyinluya/SenseNova-Skills-Studio/tree/main/skills/sn-da-excel-workflow/capability/excel-data-statistics/category-statistics
Command: npx skills add https://github.com/aiyinluya/SenseNova-Skills-Studio --skill category-statistics-aiyinluya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the time-consuming task of extracting a category column from Excel/CSV data and turning it into clear distribution statistics and publication-ready visuals.

Core Features & Use Cases

  • Category distribution extraction: Cleans invalid labels, counts each category, and computes percentage share for every class.
  • High-resolution visualization outputs: Produces combo charts (e.g., bar with dual-axis share curve) and multi-figure reports (pie+bar, horizontal bar with labeling).
  • Practical analytics for categorical data: Useful for understanding distribution patterns in datasets such as survey results, tag classifications, and labeled records.

Quick Start

Ask the assistant to run category-statistics on your spreadsheet to extract the target category column, compute counts and percentages, and generate the category_distribution.png plus a multi-chart report images set.

Frequently Asked Questions about category-statistics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate category distribution charts from Excel data?

Generating category distribution charts from Excel data involves extracting a categorical column, computing counts and percentage shares, and producing high-resolution combo charts. This process uses pandas to clean labels and calculate proportions, then matplotlib to output visual reports.

What is the best way to count categorical values and calculate proportions in a spreadsheet?

Counting categorical values and calculating proportions in a spreadsheet is best handled by applying data cleaning to remove invalid labels, tallying each class, and dividing by the total. This yields validated category statistics showing the relative percentage share of every group.

Can I use pandas and matplotlib to create survey analysis reports with pie and bar charts?

Yes, you can use pandas and matplotlib to create survey analysis reports with pie and bar charts. The workflow computes category counts and proportions from survey results, then generates multi-figure report images combining horizontal bar charts with labeling and dual-axis share curves.

Does category distribution extraction work with messy tags and invalid labels in CSV files?

Category distribution extraction works with messy tags and invalid labels in CSV files by applying automated data cleaning. It filters out invalid entries before computing per-category counts and percentage shares, ensuring the final statistics and chart images reflect only valid classification data.

What chart types are generated for dataset tagging and classification distribution reporting?

Chart types generated for classification distribution reporting include high-resolution combo charts like bar graphs with dual-axis share curves, alongside multi-figure reports combining pie charts and horizontal bar graphs with direct labeling. These visuals are produced using matplotlib to present category counts and proportions.