In Python, you can use the NumPy flip() function to reverse an array along a given axis. Here, the shape of the array is preserved, but the items are reordered.
確定! 回上一頁