Python practice: Exploratory Data Analysis (EDA) Workflow
Chapter 31 · 8 questions · included in full access
Question 1 · easy
The 5-step EDA framework
Solve it in your browserIn professional data science, what are the five foundational steps of the Exploratory Data Analysis (EDA) workflow?
Question 2 · easy
Step 1: Inspect dimensions and structure
Solve it in your browserLoad
"orders_messy.csv". Inspect the table shape and print the number of rows (df.shape[0]):Question 3 · medium
Step 2: Missing value frequency audit
Solve it in your browserLoad
"orders_messy.csv". Count missing values per column withdf.isnull().sum(). Print the count of missing values in the"Units"column (int(nulls["Units"])):Question 4 · medium
Outlier detection with Interquartile Range (IQR)
Solve it in your browserLoad
"sales.csv". Compute Q1 (sales["Revenue"].quantile(0.25)), Q3 (sales["Revenue"].quantile(0.75)), andIQR = Q3 - Q1. Filter outliers where(sales["Revenue"] < Q1 - 1.5 * IQR) | (sales["Revenue"] > Q3 + 1.5 * IQR). Print outlier count (len(outliers)):Question 5 · medium
Numerical distribution skewness audit
Solve it in your browserLoad
"sales.csv". Calculate the skewness of the"Revenue"column usingsales["Revenue"].skew(). Print the skewness rounded to 2 decimal places (round(sales["Revenue"].skew(), 2)):Question 6 · easy
Categorical frequency distribution share
Solve it in your browserLoad
"sales.csv". Calculate the percentage share of orders from each region usingsales["Region"].value_counts(normalize=True) * 100. Print the North region percentage rounded to 1 decimal place (round(shares["North"], 1)):Question 7 · medium
Segmented KPI statistical benchmark
Solve it in your browserLoad
"sales.csv". Compute the medianRevenuebyRegionusingsales.groupby("Region")["Revenue"].median(). Print the median revenue for"South"as an integer:Question 8 · hard
Synthesize executive data scorecard
Solve it in your browserLoad
"sales.csv". Construct a summary dictionaryscorecard = {"total_rev": int(sales["Revenue"].sum()), "total_orders": len(sales), "avg_units": round(sales["Units"].mean(), 1)}. Printscorecard["total_rev"]:
These questions are part of full access.
The first chapters of every track are free. Full access is a one-time payment.
See pricing