I have a NumPy array
import numpy as np
a = np.array([10, 20, 30, 40])
and I'd like to slice it in such a way, that the entire array is returned, with the first element appended to the end, so array([10, 20, 30, 40, 10]), or (as a normal list) [10, 20, 30, 40, 10].