xlsx

Clean, normalize, and analyze Excel and CSV data for mathematical modeling workflows.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/SPIRAL-EDWIN/Skills-for-Math-Modeling-MCM-ICM --skill xlsx-spiral-edwin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/SPIRAL-EDWIN/Skills-for-Math-Modeling-MCM-ICM/tree/main/.github/skills/xlsx
Command: npx skills add https://github.com/SPIRAL-EDWIN/Skills-for-Math-Modeling-MCM-ICM --skill xlsx-spiral-edwin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, scikit-learn, seaborn, matplotlib, statsmodels.

What problem does it solve? Raw Excel and CSV datasets often contain missing values, outliers, and inconsistent scales that break mathematical models. This Skill transforms messy data into modeling-ready datasets for MCM/ICM-style competitions under tight time constraints. ## Core Features & Use Cases - Data Cleaning: Handle missing values with mean/median imputation, interpolation, or KNN, and detect outliers using Z-Score, IQR, or Isolation Forest methods. - Normalization for Evaluation Models: Apply Min-Max, Z-Score, and vector normalization tailored for TOPSIS, AHP, and Entropy Weight Method workflows. - Feature Engineering & Statistics: Create lag features, rolling statistics, and categorical encodings, plus correlation heatmaps and distribution analysis. - Use Case: You receive a competition dataset with missing GDP values and mixed-scale indicators. Use this Skill to impute gaps, normalize benefit and cost indicators, and export a clean file ready for a TOPSIS evaluation model. ## Quick Start Clean the attached raw_data.xlsx file by imputing missing values, detecting outliers, and normalizing the indicators for a TOPSIS evaluation model.

Frequently Asked Questions about xlsx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle missing values in Excel data with pandas?▼

Use mean or median imputation for MCAR numeric data, forward/backward fill for time series, and interpolation for smooth trends. For datasets with over 30% missing values or tight deadlines, dropping rows is often the pragmatic choice.

How to normalize data for TOPSIS or AHP evaluation models?▼

Apply Min-Max normalization: for benefit indicators subtract the minimum and divide by the range; for cost indicators reverse the formula so smaller values score higher. Vector normalization is preferred for the Entropy Weight Method.

Should I use Z-Score or IQR for outlier detection?▼

Use Z-Score with a threshold of |z| > 3 when data follows a normal distribution, and the IQR method (Q1 - 1.5*IQR to Q3 + 1.5*IQR) for skewed data. For multivariate outliers, Isolation Forest from sklearn is appropriate.

Does this approach work with time-series forecasting data?▼

Yes, the workflow includes stationarity checks with the ADF test, differencing for non-stationary series, and lag feature creation for ARIMA, LSTM, or Grey Forecasting models. Rows with NaN values from lagging are dropped before export.

When should I not remove outliers from my dataset?▼

Do not blindly remove outliers when they represent real events, such as COVID-19 impacts in economic data. Always report detected outliers first and verify whether they reflect genuine phenomena before exclusion.