CommencezCommencez gratuitement

Heroes with histograms

We've identified that the kidnapper is Fred Frequentist. Now we need to know where Fred is hiding Bayes.

A shoe print at the crime scene contains a specific type of gravel. Based on the distribution of gravel radii, we can determine where the kidnapper recently visited. It might be:

  • blue-meadows-park
  • shady-groves-campsite
  • happy-mountain-trailhead

The radii of individual gravel pieces has been loaded into the DataFrame gravel, and matplotlib has been loaded under the alias plt.

Cette activité fait partie du cours

Introduction to Data Science in Python

Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# Create a histogram of gravel.radius
____.____(____)

# Display histogram
plt.show()
Modifier et exécuter le code