How can I flip the order of a 1d numpy array? -
this question has answer here: most efficient way reverse numpy array 6 answers i have simple 1d np.array. is there built in functions reverse it? for example = [0, 1, 2, 3] = [3, 2, 1, 0]? thanks gabriele it same regular arrays: b = a[::-1] note, creates view on array. if change original array, reversed 1 reflect it.