reverse a numpy array in python code example Example: reverse order np array reversed_arr = arr[::-1]