It conveys intent better. The function name is effectively a way of documenting what the result of np.mean should be interpreted as.
xval is a terrible name, but it does make it easier to see what's being passed into np.mean.
xval is a terrible name, but it does make it easier to see what's being passed into np.mean.
No comments yet.