用pandas库,importpandasaspddata=pd.read_csv('train.csv')train_data=data.values[0:TRAIN_NUM,1:]train_label=data.values[0:TRAIN_NUM,0]study.163.com/course/courseMain.htm?courseId=1000035机器学习正好讲了这个手写识别的例子