可以使用NumPy的`transpose()`方法来对数组进行转置操作。示例如下:
```python
import numpy as np
arr = np.array([[1, 2, 3], [4, 5, 6]])
arr_transposed = np.transpose(arr)
print(arr_transposed)
```
输出结果为:
[[1 4]
[2 5]
[3 6]]