Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge | Aggregate Functions
Introduction to pandas [track]

Swipe to show menu

book
Challenge

Task

Swipe to start coding

You continue working with the DataFrame df with information on used cars.

  1. Get the mean engine size ('engineSize' column) of Petrol ('fuelType' column) cars.
  2. Get the median mileage ('mileage' column) of ' A3' (pay attention, there is a space in the beginning, it's important!) model ('model' column) cars.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 4. ChapterΒ 7

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
Challenge

Task

Swipe to start coding

You continue working with the DataFrame df with information on used cars.

  1. Get the mean engine size ('engineSize' column) of Petrol ('fuelType' column) cars.
  2. Get the median mileage ('mileage' column) of ' A3' (pay attention, there is a space in the beginning, it's important!) model ('model' column) cars.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 4. ChapterΒ 7
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt