Say I'd like to take the ith column along with every column from the yth column to last column.
Example:
import numpy as np
a = np.random.rand(50).reshape(5,10)
Now, say I'd like to take the 2nd column, along with all columns from #7 through the last.
I can take several slices like so:
a[:,[2,4,8]]
However, what is the correct way to do the following?:
a[:,[1,6:]]
This approach currently results in a syntax error.