You can use list slices: x = data[:1000,0]. represents the first 1000 entries of the first column. In general: my_list[a:b]. contains the data from index a ...
確定! 回上一頁