I was testing the delete method of the array class of the numpy library and something strange happened: I delete the index element 0 from the array, but the index element 1 is excluded. I am not understanding what this delete is doing
>>> import numpy as np
>>> lista = np.array([1,2,3,4,5,6])
>>> lista
array([1, 2, 3, 4, 5, 6])
>>> lista[0]
1
>>> lista = np.delete(lista,lista[0])
>>> lista
array([1, 3, 4, 5, 6])