2 ms·
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, b
by 88e282102ae2e5b 9y ago
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.