I have an numpy array:
x = np.zeros(5)
[0,0,0,0,0]
x.put(5)
[0,0,0,0,5]
x.put([1,2,3])
[0,5,1,2,3]
x.put([5,10,10])
[2,3,5,10,10]
I want as shown in the example above. simply I put information at the end. and the data shift and clip the overflow.