statistical-distribution-and-outlier-analysis
执行数值型数据的分布分析与异常值检测,支持通过正则表达式从文本中提取误差项并生成高分辨率的箱线图与直方图报告。
npx skills add OpenSenseNova/SenseNova-Skills --skill histogram-visualization --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
Step 1 加载数据并进行预处理,配置中文字体与环境参数 ```python import pandas as pd import matplotlib.pyplot as plt import numpy as np import seaborn as sns import re # 设置中文字体,兼容不同环境 plt.rcParams['font.sans-serif'] = ['SimHei', 'WenQuanYi Zen Hei', 'DejaVu Sans'] plt.rcParams['axes.unicode_minus'] = False # 加载数据并处理合并单元格 file_path = 'input_data.xlsx' df = pd.read_excel(file_path) df.ffill(inplace=True) # 处理可能的合并单元格空值 # 统一重命名列名以便于程序化处理 original_columns = df.columns.tolist() df.columns = [f'col_{i+1}' for i in range(df.shape[1])] print(f"数据形状: {df.shape}") print(f"原始列映射: {dict(zip(df.columns, original_columns))}") ``` Step 2 生成多子图箱线图,直观展示各维度数据的分布特征与统计量 ```python # 计算子图布局 num_cols = len(df.columns) rows = (num_cols + 2) // 3 fig, axes = plt.subplots(rows, 3, figsize=(18, 5 * rows)) fig.suptitle('数据分布维度分析', fontsize=16, fontweight='bold') axes_flat = axes.flatten() for i, column in enumerate(df.columns): data_series = df[column].dropna() if pd.api.types.is_numeric_dtype(data_series): axes_flat[i].boxplot(data_series, patch_artist=True, boxprops=dict(facecolor='lightblue', alpha=0.7), medianprops=dict(color='red', linewidth=2)) stats = data_series.describe() axes_flat[i].set_title(f'{column} (n={len(data_series
What does the statistical-distribution-and-outlier-analysis skill do?
执行数值型数据的分布分析与异常值检测,支持通过正则表达式从文本中提取误差项并生成高分辨率的箱线图与直方图报告。
How do I install it?
Run `npx skills add OpenSenseNova/SenseNova-Skills --skill histogram-visualization --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From OpenSenseNova/SenseNova-Skills, a repository with 4,911 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
