Probability, Data Science, Python, Python Programming, Statistics.
'FF', 'FT', 'TF'] plt.bar(df['item2'], df['probability']) plt.title("Probability Mass Function") plt.show() Cumulative Distribution Function While the probability mass function can tell us the probability of each discrete event (i.e., TT, FF, FT, and TF) we can also represent the same information