How to reverse an array in NumPy

How to reverse an array in NumPy

You can reverse an array in the NumPy with the following code. If you want to learn Python, I highly recommend reading This Book. Method 1 Output [15 4 3 12 1] Method 2 Output [15 4 3 12 1]