Skip to main content

来源信息

仓库
ffsshhttiikk/opencode-agents-skills
最近来源活动
2026年2月28日 22:51
检测到的 SKILL.md 语言
英语
星标
3
Forks
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
eda
description
Exploratory data analysis
license
MIT
compatibility
opencode
metadata
{"audience":"data-analysts","category":"data-science"}
## What I do - Explore datasets to understand structure - Identify patterns and relationships - Detect anomalies and outliers - Generate summary statistics - Create visualizations for data understanding - Form and test hypotheses - Guide feature selection for modeling ## When to use me Use me when: - Starting a new data analysis project - Understanding data before modeling - Identifying data quality issues - Discovering patterns in data - Preparing for feature engineering ## Key Concepts ### EDA Process 1. **Data Collection**: Load and understand data 2. **Data Description**: Summary statistics 3. **Data Cleaning**: Handle missing, outliers 4. **Univariate Analysis**: Single variable patterns 5. **Bivariate Analysis**: Relationships between variables 6. **Multivariate Analysis**: Complex relationships ### Python EDA Example ```python import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt # Load data df = pd.read_csv("data.csv") # Basic statistics print(df.describe()) print(df.dtypes) print(df.isnull().sum()) # Distribution analysis fig, axes = plt.subplots(2, 2, figsize=(12, 10)) # Histogram sns.histplot(df["age"], kde=True, ax=axes[0, 0]) # Box plot for outliers sns.boxplot(x="income", y="education", data=df, ax=axes[0, 1]) # Correlation heatmap corr = df.select_dtypes(include=[np.number]).corr() sns.heatmap(corr, annot=True, cmap="coolwarm", ax=axes[1, 0]) # Scatter with regression sns.regplot(x="age", y="income", data=df, ax=axes[1, 1]) plt.tight_layout() plt.show() # Categorical analysis print(df["category"].value_counts()) print(pd.crosstab(df["category"], df["outcome"])) ``` ### Key Metrics - **Central tendency**: Mean, median, mode - **Spread**: Std dev, variance, IQR - **Shape**: Skewness, kurtosis - **Correlation**: Pearson, Spearman
在 GitHub 查看