소스 뷰어
import numpy as np
a = np.array( [ [1, 2, 3 ], [4, 5, 6] ] )
b = np.array( [ [1, 2, 3 ] ] )
c = np.array( [1, 2, 3 ] )
print( "a.shape = ", a.shape )
print( "a =", a, sep="\n" )
print( "a.T = ", a.T, sep="\n" )
print( "-"*40 )
print( "b.shape = ", b.shape )
print( "b = ", b, sep="\n" )
print( "b.T = ", b.T, sep="\n" )
print( "-"*40 )
print( "c.shape = ", c.shape )
print( "c = ", c, sep="\n" )
print( "c.T = ", c.T, sep="\n" )