v = np.array([1,2,3])
In [17]: v.shape
Out[17]: (3,)
Why isn't the shape [,3]? Because it has only one row and three columns. Isn't it a row vector?
v = np.array([1,2,3])
In [17]: v.shape
Out[17]: (3,)
Why isn't the shape [,3]? Because it has only one row and three columns. Isn't it a row vector?