Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

data-analyst-engine

БесплатноЗапускает вложенные скриптыНе проверен

Comprehensive data analysis expertise covering statistical analysis, data visualization, exploratory data analysis, hypothesis testing, machine learning, data…

onfire7777от onfire7777★ 17 звёзд на GitHub

Об этом скилле

Data Analyst Engine

Purpose

Provide world-class data analysis capabilities — from raw data ingestion through cleaning, exploration, statistical analysis, visualization, and insight communication.

The Data Analysis Lifecycle

Phase 1: Data Understanding

  1. What is the data? Schema, types, dimensions, source, collection method
  2. What's the question? Define the specific analytical question
  3. What's the context? Business domain, stakeholders, decisions to be informed
  4. What are the constraints? Time, tools, data quality, privacy

Phase 2: Data Cleaning (80% of the work)

Systematic cleaning checklist:

  • Check for missing values: df.isnull().sum(), decide: drop, impute (mean/median/mode/model), or flag
  • Check for duplicates: df.duplicated().sum()
  • Check data types: df.dtypes — are dates parsed? Are numbers stored as strings?
  • Check for outliers: IQR method, Z-score, domain knowledge
  • Check for inconsistencies: Standardize categories, fix typos, normalize formats
  • Check for impossible values: Negative ages, future dates, values outside valid range
  • Document every cleaning decision and its rationale

Calculate a mean for each group or calendar period

Applies when: Calculate an average reading, daily count or other numeric measurement for each category, month or period from cleaned CSV rows. Inputs: A numeric measure, an existing group column and a key identifying one observation at the requested grain. Output: A sorted table of group labels, valid observation counts and means, plus counts of missing, duplicate and accepted rows.

  1. Confirm the unit of analysis. For a mean daily count, each complete day contributes once. If the input contains several events per day, obtain daily totals first. Keep the supplied month column when it already identifies the periods consistently.
  2. Check missing values and duplicate rows using the observation key. Reconcile conflicting measurements for a repeated key. Retain genuine zero counts and report how many incomplete observations were excluded. An unobserved date is missing unless the data contract establishes its count as zero.
  3. Calculate the per-group mean using the number of valid observations in that group as its denominator. With an audited pandas table, clean.groupby(group_column)[value_column].mean() gives the mean and clean.groupby(group_column)[value_column].count() gives its denominator. Inspect the counts before sending the series to a chart. pandas grouped mean
  4. The standard-library CLI combines the audit and aggregation for a wide CSV. It collapses matching repeated measurements for the same key, fails on conflicting measurements, and writes accepted group statistics to stdout and the audit to stderr. The example input produces means of 12 and 3 for its two months.
python3 scripts/grouped_means.py examples/service_volume.csv --group period --value requests --observation observation_id

Phase 3: Exploratory Data Analysis (EDA)

Univariate Analysis (one variable at a time):

  • Numeric: histogram, box plot, descriptive stats (mean, median, std, skew, kurtosis)
  • Categorical: bar chart, frequency table, mode, cardinality

Bivariate Analysis (two variables):

  • Numeric vs Numeric: scatter plot, correlation coefficient, regression line
  • Numeric vs Categorical: box plot by group, violin plot, t-test/ANOVA
  • Categorical vs Categorical: contingency table, chi-square test, stacked bar chart

Multivariate Analysis:

  • Correlation matrix heatmap
  • Pair plots
  • PCA for dimensionality reduction
  • Clustering (K-means, DBSCAN) for pattern discovery

Phase 4: Statistical Analysis

Descriptive Statistics:

Measure What It Tells You When to Use
Mean Central tendency Symmetric distributions
Median Central tendency Skewed distributions
Mode Most common value Categorical data
Std Dev Spread Normal-ish distributions
IQR Spread Robust to outliers
Skewness Asymmetry Distribution shape
Kurtosis Tail heaviness Outlier tendency

Hypothesis Testing Framework:

  1. State null hypothesis (H₀) and alternative (H₁)
  2. Choose significance level (α = 0.05 typically)
  3. Select appropriate test
  4. Calculate test statistic and p-value
  5. Decide: reject or fail to reject H₀
  6. Report effect size and confidence interval (not just p-value!)

Test Selection Guide:

Question Data Type Test
Compare 2 group means Continuous, normal Independent t-test
Compare 2 group means Continuous, non-normal Mann-Whitney U
Compare 3+ group means Continuous, normal One-way ANOVA
Compare 3+ group means Continuous, non-normal Kruskal-Wallis
Association between categories Categorical Chi
Полный SKILL.md на GitHub

Установить data-analyst-engine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/service_volume.csvscripts/grouped_means.py

FAQ

Что делает скилл data-analyst-engine?

Comprehensive data analysis expertise covering statistical analysis, data visualization, exploratory data analysis, hypothesis testing, machine learning, data cleaning, and data storytelling.

Как установить скилл data-analyst-engine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл data-analyst-engine запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить data-analyst-engine с