Friday, March 27, 2020

exponential pdf/ power Law in datascience using python

from scipy.stats import expon
import matplotlib.pyplot as plt
import numpy as np

x=np.arange(0,10,0.001)
plt.plot(x,expon.pdf(x))

output:

No comments:

Post a Comment

python class topic video