IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Introduction to Data Science in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

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

# Display histogram
plt.show()
Modifica ed esegui il codice