1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to Statistics in Python

Connected

练习

Simulating wait times

To give Amir a better idea of how long he'll have to wait, you'll simulate Amir waiting 1000 times and create a histogram to show him what he should expect. Recall from the last exercise that his minimum wait time is 0 minutes and his maximum wait time is 30 minutes.

As usual, pandas as pd, numpy as np, and matplotlib.pyplot as plt are loaded.

说明 1 / 共 4 个

undefined XP
    1
    2
    3
    4
  • Set the random seed to 334.