I am trying to turn this for loop into a numpy function. The y_mean function gets the amount of number stated at the numbers variable at once from
y_mean
numbers