I'm trying to generate a random sample with scipy .rvs method. However I have to limit the decimal places of each value sampled to, for example, 4.
As an example:
n=1000
X_list=[]
for i in range(n):
X = laplace_asymmetric.rvs(loc=1, scale=0.06301609, kappa=0.69327604)*HB
X_list.append(X)