Hello Julia Community,
I have an array of elements of type Day, and when attempting to compute the mean of that array with
mean(my_array_full_of_days), I get an InexactError because the result is a Float. Sum works just fine (as the return value is of type Day).
I tried converting the dates to Floats as well as simply rounding the return value of the sum function, but I get an error. Does anyone know what the cleanest solution to this problem is?