I am trying to apply a function using beta.rvs from scipy.stats but it only ran the first 4 rows and gave the Domain error.
import numpy as np import pandas a