I am using numpy.genfromtxt and the usecols parameter allows filtering out columns (by non-inclusion). For a lengthy list of columns it is not ideal to explicitly mention every single one - given that only one column need not be included.
If the sequence were instead a list then we could use
usecols=[1:]
However that is not possible for a sequence - which afaict needs to be like
usecols=(1,2,3,4, .. and many many more ..)
Here is the specific invocation that is being attempted:
data = np.genfromtxt(path, delimiter=',',skip_header= 1,usecols=[1:])
That does not compile due to the invalid attempt to use the slicing syntax on the sequence. is there any alternative supported by sequences?