Adding descriptive statistics
Now "Duration" and "Price" both contain numeric values in the planes DataFrame, you would like to calculate summary statistics for them that are conditional on values in other columns.
Deze oefening maakt deel uit van de cursus
Exploratory Data Analysis in Python
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Price standard deviation by Airline
planes["airline_price_st_dev"] = planes.____("____")["____"].____(____ ____: ____.____())
print(planes[["Airline", "airline_price_st_dev"]].value_counts())