Identifying outliers
You've proven that you recognize what to do when presented with outliers, but can you identify them using visualizations?
Try to figure out if there are outliers in the "Price"
or "Duration"
columns of the planes
DataFrame.
matplotlib.pyplot
and seaborn
have been imported for you as plt
and sns
respectively.
This exercise is part of the course
Exploratory Data Analysis in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot a histogram of flight prices
sns.histplot(data=____, x=____)
plt.show()