IniziaInizia gratis

Removing outliers

While removing outliers isn't always the way to go, for your analysis, you've decided that you will only include flights where the "Price" is not an outlier.

Therefore, you need to find the upper threshold and then use it to remove values above this from the planes DataFrame.

pandas has been imported for you as pd, along with seaborn as sns.

Questo esercizio fa parte del corso

Exploratory Data Analysis in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Find the 75th and 25th percentiles
price_seventy_fifth = ____["____"].____(____)
price_twenty_fifth = ____["____"].____(____)
Modifica ed esegui il codice