I have a function that I would like to use to compute reliability by simulating over a dataframe. I need to create an array and iterate over the data from the dataframa which is