In the help resource for the multivariate normal sampling function in SciPy, they give the following example:
x,y = np.random.multivariate_normal(mean,cov,50
Example
import numpy as np a = [[1, 2, 3]] b = np.array(a).T # ndarray.T The transposed array. [[1,2,3]] -> [[1][2][3]] print("a=", a, "\nb=", b) for i in range(3): print(" a=", a[0][i]) # prints 1 2 3 for i in range(3): print(" b=", b[i][0]) # prints 1 2 3