I'm familiar with slicing, I just can't wrap my head around this, and I've tried changing some of the values to try and illustrate what's going on, but it makes no sense to me.
Here's the example:
import numpy
l = numpy.array([[0, 0, 0], [0, 1, 0], [1, 0, 0], [1, 1, 1]])
print(l[:,0:2].tolist())
Resulting in:
[[0, 0], [0, 1], [1, 0], [1, 1]]
I'm trying to translate this as "slice from index 0 to 0,2, incrementing by 2" which makes no sense to me.