Skip to content
KALANBLON
Show contents

Chapter 7 of 7 · 10 min

Quiz: analyse and clean

Grouping, joins, cleaning and dates: the last quiz of this course. You need 70% correct answers to pass it.

Quiz

6 questions · pass mark: 70%

  1. 1.What does sales.groupby("region")["amount"].sum() return?

    One answer

  2. 2.Three sales at 300 FCFA/kg in region A, one at 600 FCFA/kg in region B. The mean of the regional means is 450. What is the mean of all sales?

    One answer

  3. 3.With sales.merge(products, on="product", how="left"), what happens to a sale whose product is missing from products?

    One answer

  4. 4.Complete to turn non-convertible values into NaN instead of raising an error.

    Complete the code

    pd.to_numeric(colonne, errors="______")
  5. 5.Without a format, pd.to_datetime("05/03/2026") gives:

    One answer

  6. 6.Which practices make an analysis reliable and reproducible? (several answers)

    Several answers possible

Your progress is saved on this device. Create a free account to keep your progress on all your devices.