In [21]: a = np.array([1,2,3])
In [22]: a.shape
Out[22]: (3,)
What's the difference between (3,) and (3,1) in shape?
Why isn't the output (,3) or (1,3)? This is a 1 by 3 matrix, right?
In [21]: a = np.array([1,2,3])
In [22]: a.shape
Out[22]: (3,)
What's the difference between (3,) and (3,1) in shape?
Why isn't the output (,3) or (1,3)? This is a 1 by 3 matrix, right?