[Numpy-discussion] A random.normal function with stdev as array]
There's nothing wrong with looping in python as long as you amortize the loop overhead over a large number of operations. Thus, the advice to vectorize your *inner* loop, not vectorize all loops. Attempting the latter can lead to impenatrable code, usually doesn't help signifigantly and...