1. Learn
  2. /
  3. Courses
  4. /
  5. Exploratory Data Analysis in Python

Exercise

Imputing missing plane prices

Now there's just one column with missing values left!

You've removed the "Additional_Info" column from planes—the last step is to impute the missing data in the "Price" column of the dataset.

As a reminder, you generated this boxplot, which suggested that imputing the median price based on the "Airline" is a solid approach!

Box plot of plane ticket prices by Airline

Instructions 1/3

undefined XP
    1
    2
    3
  • Group planes by airline and calculate the median price.