line.split(" ")[0 , 11] does, in fact, return 11 items, starting from 0th.

To return 0th and 11th column, use line.split(" ").values_at(0, 11),


-- Matma Rex