Data Cleaning & Analysis
Paste the following prompt into your AI chat to install this skill:
Please install @user_d9bb652a/data-cleaning-analysis according to https://skillhub.cn/install/skillhub.md.
About this skill
What Problem It Addresses
When tabular data arrives, the risk is rarely one isolated cleaning step. It is order: deleting missing values too early can remove meaningful business signals, ignoring encoding can misread CSV files, and skipping distribution checks can lead to wrong imputation. This skill makes the diagnostic sequence explicit: load, inspect, clean, explore, analyze, then report, so analysis does not start on unexamined data.
How the Pipeline Works
It runs LOAD → CLEAN → EXPLORE → ANALYZE → REPORT, where each stage produces input for the next. Cleaning handles missing values, duplicates, IQR-based outliers, and type conversions. Missing-rate rules separate >50%, 5%-50%, and <5%; skewed numeric columns favor median, while highly correlated pairs receive deletion suggestions. The final summary includes a 0-100 quality score, operations performed, skew/correlation/cardinality findings, and feature suggestions such as log/sqrt, encoding, or interactions.
Boundaries and Caveats
It is suited to structured tabular preprocessing where a repeatable audit trail matters, but it does not replace domain judgment. Extreme values may be valuable business signals, so IQR should be treated as a prompt. Training and test handling should follow project policy, and encoding, units, and primary-key semantics still need manual confirmation.
Use Cases
- Given a 50+ row CSV, run missing-value imputation, duplicate removal, IQR outlier tagging, and output a quality score summary.
- Before merging business tables into a model pipeline, check skewness and high-correlation pairs, then get log-transform and encoding suggestions.
- When receiving a GBK-encoded Excel export, confirm encoding and produce a load overview before cleaning to avoid mojibake downstream.
- Establish a data-quality baseline for dashboards by running the fixed cleaning pipeline and exporting a 0-100 score with an operations log.
Best For
- Data analyst preparing quarterly reports who needs a quality check on raw CSVs before modeling.
- Data scientist doing feature engineering who needs quick identification of skewed columns, correlated pairs, and encoding suggestions.
- Product manager who needs a structured data-quality summary rather than raw spreadsheets before scoping requirements.
- Backend engineer maintaining ETL pipelines who needs IQR and missing-rate rules as an automated pre-ingestion validation layer.
Related Skills
A universal base component that automatically launches the Edge browser and connects the BrowserSkill extension, ensuring readiness for web scraping and browser automation tasks.
A fully local-run WeChat chat analysis tool with MBTI personality inference, sentiment analysis, risk detection, relationship health assessment, and conversation prediction, emphasizing privacy.
Fetches the top 20 A-share stocks by trading volume from Wencai, including ranking, price changes, and sectors, with sector analysis.
Automatically fetches A-share closing indices, sector moves, market sentiment, commodities, and global events to generate a daily recap.