EduFlow
Python for Data Analysis

Final assessment

Twelve questions across the whole course. Score 70% or more to pass and unlock your certificate. You can retake it as often as you like.

Finish every lesson to earn the certificate — you can take the assessment any time.

Question 1 of 12

What does sum(float(v.replace(",", "")) for v in ["1,234.50", "99.00"]) return?

Question 2 of 12

cancelled = orders[orders["status"] == "cancelled"] on Cartwheel’s orders. What is cancelled.shape?

Question 3 of 12

messy["total"].sum() returns a long string instead of a number. Which first step diagnoses it?

Question 4 of 12

Support tickets can reference an order, and one order can have several tickets. Which validate fits orders.merge(tickets, on="order_id")?

Question 5 of 12

You need the number of orders per customer, but only order_items (one row per line) is at hand. Which aggregation is right?

Question 6 of 12

monthly is revenue per month for 2024 and 2025. Which expression compares each month with the same month a year earlier?

Question 7 of 12

What label does pd.cut([100], bins=[0, 100, 200]) give to the value 100?

Question 8 of 12

One order of 50,000 dollars is added by mistake to a table of 2,000 normal orders. Which statistic barely changes?

Question 9 of 12

q4 = orders[in_q4] followed by q4["flag"] = True. What happens to orders under Copy-on-Write?

Question 10 of 12

df["order_date"].str.contains("2025") works, but df["order_date"].dt.year fails. What does that tell you?

Question 11 of 12

A quarter’s revenue rose 30%. Active customers rose 30%; orders per customer and average order value were flat. What is the best summary?

Question 12 of 12

Which habit most protects a recurring monthly report from silently reporting wrong numbers when next month’s export changes format?

12 questions unanswered