行索引
如下所示:>>>importnumpyasnp>>>importpandasaspd>>>index=np.array([2,4,6,8,10])>>&g
需要把一个从csv文件里读取来的数据集等距抽样分割,这里用到了列表表达式和dataframe.iloc