Weighted standard deviation in NumPy Weighted standard deviation in NumPy numpy numpy