Analytics Data Analysis logo

Analytics Data Analysis

Organization
Mindrally
analytics-data-analysis

Best practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks. Use when performing exploratory data analysis, building data pipelines, creating statistical visualizations, writing Jupyter notebooks, cleaning and transforming datasets, or implementing analytics dashboards.

Overview

PublisherMindrally
Repositoryskills
Skill nameanalytics-data-analysis
Stars
259
Forks
41
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Mindrally on GitHub. Read the source before you install it.

Installation

Install the Analytics Data Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mindrally/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/analytics-data-analysis .claude/skills/analytics-data-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analytics Data Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analytics Data Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analytics Data Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Analytics and Data Analysis

Guidelines for data analysis, visualization, and Jupyter-based workflows using pandas, matplotlib, seaborn, and numpy. Prioritize readability, reproducibility, and vectorized operations.

Workflow: Exploratory Data Analysis Pipeline

  1. Load and inspect — Read data with pd.read_csv() or appropriate loader, check .shape, .dtypes, .describe(), and .isnull().sum()
  2. Clean and transform — Handle missing values, fix dtypes, rename columns, filter outliers using vectorized pandas operations
  3. Explore relationships — Use .groupby(), .corr(), and cross-tabulations to identify patterns
  4. Visualize findings — Create targeted plots with matplotlib/seaborn; label axes, add titles, use colorblind-friendly palettes
  5. Validate results — Run statistical tests, report confidence intervals, verify assumptions
  6. Document and share — Structure notebook with markdown sections, clear outputs before sharing, pin dependencies

Key Principles

  • Write concise, technical code with accurate Python examples
  • Emphasize readability and reproducibility in data analysis workflows
  • Use functional programming patterns; minimize class usage
  • Leverage vectorized operations over explicit loops for performance
  • Use descriptive variable naming conventions (e.g., is_valid, has_data, total_count)
  • Adhere to PEP 8 style guidelines

Quick Start Example

python
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

# Load and inspect
df = pd.read_csv("data.csv", parse_dates=["timestamp"])
print(f"Shape: {df.shape}, Missing: {df.isnull().sum().sum()}")

# Clean: drop rows missing target, fill numeric gaps with median
df = (
    df.dropna(subset=["revenue"])
    .assign(category=lambda x: x["category"].astype("category"))
    .fillna(df.select_dtypes("number").median())
)

# Analyze: revenue by category
summary = df.groupby("category")["revenue"].agg(["mean", "median", "std"])

# Visualize
fig, ax = plt.subplots(figsize=(10, 6))
sns.boxplot(data=df, x="category", y="revenue", palette="colorblind", ax=ax)
ax.set_title("Revenue Distribution by Category")
ax.set_ylabel("Revenue ($)")
plt.tight_layout()
plt.savefig("revenue_by_category.png", dpi=150)
plt.show()

Data Analysis with Pandas

Data Manipulation Best Practices

  • Use pandas for all data manipulation and analysis tasks
  • Apply method chaining for clean, readable transformations
  • Utilize loc and iloc for explicit data selection
  • Employ groupby for efficient data aggregation
  • Use merge and join appropriately for combining datasets

Performance Optimization

  • Use vectorized operations instead of loops
  • Utilize efficient data structures like categorical data types for low-cardinality string columns
  • Consider dask for larger-than-memory datasets
  • Profile code to identify and optimize bottlenecks
  • Use appropriate dtypes to minimize memory usage

Data Validation

  • Validate data types and ranges to ensure data integrity
  • Use try-except blocks for error-prone operations when reading external data
  • Check for missing values and handle appropriately
  • Verify data shape and structure after transformations

Visualization Standards

Matplotlib Guidelines

  • Use matplotlib for fine-grained customization control
  • Create clear, informative plots with proper labeling
  • Always include axis labels and titles
  • Use consistent color schemes across related visualizations
  • Save figures with appropriate resolution for the intended use

Seaborn for Statistical Visualizations

  • Apply seaborn for statistical visualizations and attractive defaults
  • Leverage built-in themes for consistent styling
  • Use appropriate plot types for the data (scatter, line, bar, heatmap, etc.)
  • Consider color-blindness accessibility in color palette choices

Accessibility in Visualizations

  • Use colorblind-friendly palettes
  • Include alternative text descriptions
  • Ensure sufficient contrast in visual elements
  • Provide data tables as alternatives to complex charts

Jupyter Notebook Best Practices

Notebook Structure

  • Structure notebooks with clear markdown sections
  • Begin with an overview/introduction cell
  • Document analysis steps thoroughly
  • Keep code cells focused and modular
  • End with conclusions and key findings

Execution and Reproducibility

  • Maintain meaningful cell execution order
  • Clear outputs before sharing notebooks
  • Use environment files (requirements.txt) for dependencies
  • Document data sources and access methods
  • Include date/version information

Code Organization

  • Import all libraries at the notebook beginning
  • Define helper functions in dedicated cells
  • Use magic commands appropriately (%matplotlib inline, etc.)
  • Keep individual cells concise and single-purpose

Technical Requirements

Core Dependencies

  • pandas: Data manipulation and analysis
  • numpy: Numerical computing
  • matplotlib: Base plotting library
  • seaborn: Statistical data visualization
  • jupyter: Interactive computing environment

Extended Libraries

  • scikit-learn: Machine learning tasks
  • scipy: Scientific computing
  • plotly: Interactive visualizations
  • statsmodels: Statistical modeling

Analytics Implementation

Tracking and Measurement

  • Define clear metrics and KPIs before analysis
  • Document data collection methodology
  • Implement proper data pipelines for reproducibility
  • Create automated reporting where appropriate
  • Version control notebooks and analysis scripts

Statistical Analysis

  • Use appropriate statistical tests for the data type
  • Report confidence intervals alongside point estimates
  • Be cautious about p-value interpretation
  • Consider effect sizes, not just statistical significance
  • Document assumptions and limitations

Error Handling and Logging

  • Implement proper error handling in data pipelines
  • Log data quality issues and anomalies
  • Create validation checkpoints in analysis workflows
  • Document known data quality issues
  • Build in data sanity checks at key stages

Frequently asked questions

What does the Analytics Data Analysis AI skill do?

Best practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks. Use when performing exploratory data analysis, building data pipelines, creating statistical visualizations, writing Jupyter notebooks, cleaning and transforming datasets, or implementing analytics dashboards.

Why use Analytics Data Analysis on TypingMind?

Because you install it once and use it with any model. Analytics Data Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analytics Data Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mindrally/skills/tree/main/analytics-data-analysis. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Analytics Data Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analytics Data Analysis?

As many as you like. As long as a model supports skills, you can use Analytics Data Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analytics Data Analysis AI skill free?

Yes. It is published on GitHub by Mindrally under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇