AGENT SKILL
eda
Exploratory data analysis
使用场景分析与可视化
- License 许可
- MIT
- 最近更新
- 2026-03-01
- Stars
- ★ 3
- Forks
- 2
01 前言 Front Matter
- name
- eda
- license
- MIT
- metadata
- { "audience": "data-analysts", "category": "data-science" }
- description
- Exploratory data analysis
- compatibility
- opencode
03 SKILL.md 正文
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
- Data Collection: Load and understand data
- Data Description: Summary statistics
- Data Cleaning: Handle missing, outliers
- Univariate Analysis: Single variable patterns
- Bivariate Analysis: Relationships between variables
- Multivariate Analysis: Complex relationships
Python EDA Example
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
04 同仓库更多 Skills
xamarin
Xamarin cross-platform development
★ 3
wrangling
Data wrangling fundamentals
★ 3
windows
Windows operating system administration and scripting
★ 3
wide-column
Wide-column data model
★ 3
wide-column-stores
Wide-column database stores
★ 3
websockets
WebSocket implementation and best practices
★ 3