Distribution of Amir's sales
Since each deal Amir worked on (both won and lost) was different, each was worth a different amount of money. These values are stored in the amount
column of amir_deals
As part of Amir's performance review, you want to be able to estimate the probability of him selling different amounts, but before you can do this, you'll need to determine what kind of distribution the amount
variable follows.
Both pandas
as pd
and matplotlib.pyplot
as plt
are loaded and amir_deals
is available.
Cet exercice fait partie du cours
Introduction to Statistics in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Histogram of amount with 10 bins and show plot
____
____