Performing Eda
by KevinGastelum
Conducts Exploratory Data Analysis (EDA) on datasets. Use when the user asks to "explore", "clean", or "visualize" a new CSV or dataset.
Skill Details
Repository Files
1 file in this skill directory
name: performing-eda description: Conducts Exploratory Data Analysis (EDA) on datasets. Use when the user asks to "explore", "clean", or "visualize" a new CSV or dataset.
Performing EDA (Exploratory Data Analysis)
When to use this skill
- User uploads a
.csvor.jsonfile and asks "what's in here?". - User wants to "check for missing values" or "see distributions".
- Debugging model performance by analyzing training data.
Workflow
- Load: Read file into Pandas DataFrame.
- Inspect Structure:
df.info(),df.head(),df.describe(). - Clean: Handle missing values (
NaN), duplicates, and incorrect types. - Univariate Analysis: Histograms/Boxplots for single variables.
- Bivariate Analysis: Correlation matrix, Scatter plots for relationships.
- Report: Summarize findings (Outliers, Trends, Data Quality).
Instructions
1. Standard Inspection Script (Python)
Use the model environment or a temporary script.
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
def quick_eda(filepath):
df = pd.read_csv(filepath)
print("--- INFO ---")
print(df.info())
print("\n--- DESCRIBE ---")
print(df.describe())
# Check nulls
nulls = df.isnull().sum()
if nulls.sum() > 0:
print("\n--- NULLS ---")
print(nulls[nulls > 0])
return df
2. Visualization Standards
- Use Seaborn for statistical plots (nicer defaults than matplotlib).
- Correlation Heatmap: Critical for finding redundant features.
- Pairplot: Useful for small feature sets (< 10 features).
3. Notebooks vs Scripts
- Only create
.ipynbfiles if the user explicitly asks for a notebook or "interactive exploration". - Otherwise, write a
.pyscript that outputs text summaries and saves plot images to aplots/folder.
Resources
Related Skills
Xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Analyzing Financial Statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
Data Storytelling
Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Dbt Transformation Patterns
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Anndata
This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.
Xlsx
Spreadsheet toolkit (.xlsx/.csv). Create/edit with formulas/formatting, analyze data, visualization, recalculate formulas, for spreadsheet processing and analysis.
