• 2022-06-18
    存在多维数组arr,arr =np.array([[1 2 3] [4 5 6] [7 8 9]])数组arr.T的输出为
    A: array([[1, 4, 7], [2, 5, 8], [3, 6, 9]])
    B: array([[1, 2, 3], [4, 5, 8], [7, 6, 9]])
    C: array([[1, 4, 7], [2, 5, 6], [3, 8, 9]])
    D: array([[9, 4, 7], [2, 5, 8], [3, 6, 1]])