End-to-End Project

23 / 32

End to End Proj Density Curves

  1. Generate 10000 random normally distributed numbers and plot the density curve along with the median and mean.

  2. Generate 10000 exponentially distributed numbers using np.random.exponential(size=100000) and plot the density curve along with the median and mean.

Hints: norm_data = pd.DataFrame(np.random.normal(size=100000))

skewed_data = pd.DataFrame(np.random.exponential(size=100000))

skewed_data.plot(kind="density",figsize=(10,10),xlim=(-1,5))

Please keep the plots handy to answer to answer the questions that follow.