ydata-profiling-5-large-dataset-handling
Sub-skill of ydata-profiling: 5. Large Dataset Handling.
Best use case
ydata-profiling-5-large-dataset-handling is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of ydata-profiling: 5. Large Dataset Handling.
Teams using ydata-profiling-5-large-dataset-handling should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/5-large-dataset-handling/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ydata-profiling-5-large-dataset-handling Compares
| Feature / Agent | ydata-profiling-5-large-dataset-handling | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of ydata-profiling: 5. Large Dataset Handling.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 5. Large Dataset Handling
## 5. Large Dataset Handling
**Minimal Mode for Speed:**
```python
from ydata_profiling import ProfileReport
import pandas as pd
import numpy as np
# Large dataset
large_df = pd.DataFrame({
f"col_{i}": np.random.randn(1000000)
for i in range(50)
})
large_df["category"] = np.random.choice(["A", "B", "C"], 1000000)
print(f"Dataset size: {large_df.shape}")
# Minimal mode - fast but less detailed
profile = ProfileReport(
large_df,
title="Large Dataset Profile",
minimal=True # Enables minimal mode
)
profile.to_file("large_dataset_minimal.html")
```
**Sampling for Large Datasets:**
```python
from ydata_profiling import ProfileReport
import pandas as pd
import numpy as np
def profile_large_dataset(
df: pd.DataFrame,
sample_size: int = 100000,
title: str = "Sampled Profile"
) -> ProfileReport:
"""
Profile large dataset using sampling.
Args:
df: Input DataFrame
sample_size: Number of rows to sample
title: Report title
Returns:
ProfileReport object
"""
if len(df) > sample_size:
df_sampled = df.sample(n=sample_size, random_state=42)
print(f"Sampled {sample_size} rows from {len(df)}")
else:
df_sampled = df
print(f"Using full dataset: {len(df)} rows")
return ProfileReport(
df_sampled,
title=f"{title} (n={len(df_sampled):,})",
minimal=len(df_sampled) > 50000 # Auto minimal for large samples
)
# Usage
# large_df = pd.read_parquet("huge_dataset.parquet")
# profile = profile_large_dataset(large_df, sample_size=50000)
# profile.to_file("sampled_profile.html")
```
**Explorative vs Minimal Configuration:**
```python
from ydata_profiling import ProfileReport
import pandas as pd
df = pd.read_csv("data.csv")
# EXPLORATIVE MODE - Full analysis (slower)
profile_full = ProfileReport(
df,
title="Full Explorative Report",
explorative=True, # Enable all analyses
correlations={
"pearson": {"calculate": True},
"spearman": {"calculate": True},
"kendall": {"calculate": True},
"phi_k": {"calculate": True}
},
missing_diagrams={
"bar": True,
"matrix": True,
"heatmap": True
},
interactions={
"continuous": True # Scatter plots for numeric pairs
}
)
# MINIMAL MODE - Quick overview (faster)
profile_minimal = ProfileReport(
df,
title="Minimal Quick Report",
minimal=True, # Disable expensive computations
correlations=None, # Skip correlations
missing_diagrams={"bar": False, "matrix": False, "heatmap": False},
interactions={"continuous": False}
)
```Related Skills
worldenergydata-source-readiness
Route agents to the canonical worldenergydata source-readiness skill and summary script. Use when asked for worldenergydata data completeness, data locations, latest known data dates, scheduler freshness, source-readiness status, or acceptance-criteria inputs across the repo ecosystem.
tax-form-currency-field-handling
Handle currency field rounding and formatting quirks when entering precise decimal values into tax software forms
git-large-file-staging-conflict-recovery
Recover from pre-commit hook blocks on oversized files and corrupted rebase states during bulk repo syncs
bash-pipefail-grep-error-handling
Handle grep exit codes safely under set -eo pipefail by isolating pipeline failure scope
large-parallel-planning-wave-environment-failure-handoff
Handle large pre-plan-review planning waves that succeed analytically but fail to persist artifacts due to quota exhaustion, sandbox write failures, or cancelled GitHub mutations.
large-lint-gate-restoration-wave
Restore a red repository Lint job when flake8 debt is large and mixed, by inventorying outliers, splitting issue ownership, using local direct-venv iteration, inspecting broad auto-format diffs, and closing only after exact local and GitHub Actions Lint proof.
pdf-large-reader
Memory-efficient PDF processing library for large files exceeding 100MB and 1000 pages
bash-cli-framework-5-error-handling
Sub-skill of bash-cli-framework: 5. Error Handling (+1).
clean-code-git-plumbing-for-repos-with-large-pack-files
Sub-skill of clean-code: Git Plumbing for Repos with Large Pack Files (+1).
instrument-data-allotrope-calculated-data-handling
Sub-skill of instrument-data-allotrope: Calculated Data Handling.
n8n-4-conditional-branching-and-error-handling
Sub-skill of n8n: 4. Conditional Branching and Error Handling.
activepieces-8-error-handling-and-retry-logic
Sub-skill of activepieces: 8. Error Handling and Retry Logic.