From a list of following elements how to choose by index, so index 1,2, then 5,6 then 9,10? Numbers and text are not relevant, the order is relevant. The basic idea behind is as follows: Suppose you have feature a,b,c,d and for all of them you have mean, standard deviation, min and max. If you only interested in showing feature b and c, how to show them?
column=[]
for i in range(1,4):
for j in list('abcd'):
column.append(str(j)+str(i))
column
['a1', 'b1', 'c1', 'd1', 'a2', 'b2', 'c2', 'd2', 'a3', 'b3', 'c3', 'd3']
How can I extract the values at the indices 1, 2, 5, 6, 9, 10 so the result is
['b1', 'c1', 'b2', 'c2', 'b3', 'c3']