import numpy as npx1 = np.array([10, 20, 30], float)print "shape of ... x2 = x1[:, np.newaxis] print "shape of x2 is ", x2.shape print x2 x3 ...
確定! 回上一頁