I wrote the following program
import numpy as np
sig=2
sig2=sig^2
n=100
mu=0
vecX=np.random.normal(loc=mu, scale=sig, size=n)
print(vecX.shape)
Running it, I got the following output: (100,)
My question is, why it is showing (100,) instead of (100,1), and how make it show (100,1) as the size/shape of this array? Thanks!