IDRASAcademic OS
AURXON ENGINEERING NOTES • Applied Data Systems SeriesVerified Textbook

Exploratory Data Analysis

A First-Semester Reasoning-First Textbook + Practical Workbook

Authored by Karann • AURXON. Built for engineering students moving from zero Python knowledge to statistical intuition, hands-on Pandas mastery, defensible cleaning contracts, and production ML pipelines.

AURXON CORE
Where Intelligence Meets Execution
The Aurxon Engineering Loop

The 6-Step Analytical Reasoning Cycle

Golden Rule: Predict before you execute.
STEP 1: QUESTION — Define the Unit of Observation

What does one single row represent? What is the column unit and time window? Predict what you expect to see before touching any code.

💡 Are we measuring transactions, unique customers, or daily store rollups?
Live Worked Reasoning Case

Worked Example: “The Mean Lies” Simulator

Chapter 2.9 • Karann's Delivery Time Case

Suppose food delivery times (in minutes) are measured. A normal delivery takes 25–29 minutes, but one bike breakdown causes a 120-minute delivery. Inspect below how one extreme outlier pulls the Mean up by 15 minutes, while the Median tells the truth of the typical customer experience.

Tukey Outlier Multiplier:1.5x IQR
Arithmetic Mean
42.50
Sensitive to Outliers
Sample Median
27.50
Robust Order-Statistic
IQR (Q3 - Q1)
2.50
Q1: 26.3 | Q3: 28.8
Tukey Upper Fence
32.50
1 Outlier(s) Detected
Sorted Values & Fences:Detected Outliers: [120]
25 26 27 28 29 120 ⚠️ (Outlier)
Rubin's Missingness Taxonomy

Data Cleaning Decision Matrix: MCAR vs. MAR vs. MNAR

Unit 3.2 • Cleaning Contracts
MNAR — P(Missing | Y) depends on Y itself!

Real-World Example: People with exceptionally high credit card debt or failing grades systematically refuse to answer debt/grade questions.

Mandatory Cleaning Contract:Create a binary missingness indicator column: df['debt_missing'] = df['debt'].isna().astype(int). The missingness is itself the most valuable predictive signal!
Catastrophic Failure:Filling MNAR debt with average debt makes high-risk borrowers look like low-risk average borrowers to credit models!
Curriculum Reader

Textbook Units & Laboratory Implementations

Unit 1

Foundations of EDA, Measurement Scales & Environment Setup

EDA is not a collection of plots. It is a disciplined way of asking: What does this dataset actually say, what might be misleading us, and what should we do next?

ScaleDefinitionTrue Zero?Permitted OperationsValid Central Measure
NominalCategories without natural order (e.g., City, Gender)NoEquality (==, !=)Mode
OrdinalOrdered ranks without equal intervals (e.g., 5-Star Rating)NoComparison (>, <)Median, Percentiles
IntervalEqual distances, arbitrary zero (e.g., Temperature in Celsius)No (0°C ≠ absence of heat)Addition, SubtractionMean, Standard Deviation
RatioMeaningful zero and equal ratios (e.g., Revenue, Kelvin, Mass)YesMultiplication, Division, RatiosGeometric Mean, CV
Aurxon First-Pass Auditing Function (Python):
import pandas as pd
import numpy as np

def aurxon_first_pass_profile(df: pd.DataFrame) -> pd.DataFrame:
    """Profiles structure, missingness, cardinality, and dtypes."""
    return pd.DataFrame({
        "dtype": df.dtypes,
        "null_count": df.isna().sum(),
        "null_pct": (df.isna().mean() * 100).round(2),
        "unique_vals": df.nunique(),
        "sample_val": df.iloc[0] if len(df) > 0 else np.nan
    })
Ready to test your reasoning on authentic academic questions?
Practice interactive numerical quizzes and viva questions for EDA.
View All EDA Topics