Introduction à la Data Science en Python
Hillary Green-Lerman
Lead Data Scientist, Looker



plt.hist(gravel.mass)
plt.show()

plt.hist(data, bins=nbins)
plt.hist(gravel.mass, bins=40)

plt.hist(data,
range=(xmin, xmax))
plt.hist(gravel.mass,
range=(50, 100))

Graphique à barres non normalisé
plt.hist(male_weight)
plt.hist(female_weight)

Somme de l'aire des barres = 1
plt.hist(male_weight, density=True)
plt.hist(female_weight, density=True)

Introduction à la Data Science en Python