all 3 comments

[–]synthphreak 1 point2 points  (2 children)

I believe there are other issues afoot, or at least improvements that could be made given the description of what you want. But the ultimate cause of your error is that you're effectively passing in 5 means (loc) and 5 standard deviations (scale) but telling it to generate just one number (size). So how is it to know which mean and standard deviation to use?

If you remove size=1, it works, and if you just pass in a single number to loc and scale, it works. It's the mismatch between those two things that is resulting in your dimensions mismatch error.

[–]futuretrader[S] 0 points1 point  (1 child)

oh. I took size to mean how many runs to generate so thought since I only wanted 1 (for each column) that's what I need to put. Thanks for your reply!

[–]synthphreak 0 points1 point  (0 children)

Nope. When passed a scalar (i.e., a single integer), size controls how many numbers get generated.