a = list(range(10)) a[:] a[::] a[...]
a[:] is equivalent to
a[...] was not working.
import numpy as np a = np.arange(10) a[:] a[::] a[...]
a[...] are equivalent for a numpy.array object. For
s[startstep] operation, the default value of start, end, and step is 0, -1, and 1 separately.