import numpy as np >>> x = np.array([[0, 1, 2], [3, 4, 5]]) >>> type(x) <class 'numpy.ndarray'> >>> x.T array([[0, 3], [1, 4], [2, 5]])
確定! 回上一頁