np.reshape(a, (3,-1)) # the unspecified value is inferred to be 2. 7. array([[1, 2],. 8. [3, 4],. 9. [5, 6]]). Source: numpy.org. Add a Grepper Answer ...
確定! 回上一頁