NumPy: Transpose ndarray (swap rows and columns, rearrange axes) ... 'B', 'C']) print(df) # X Y # A 0 3 # B 1 4 # C 2 5 print(df.
確定! 回上一頁