摘要: from scipy.sparse import * row = [0,0,0,1,1,1,2,2,2]#行指标col = [0,1,2,0,1,2,0,1,2]#列指标data = [1,0,1,0,1,1,1,1,0]#在行指标列指标下的数字team = csr_matrix((data,(ro 阅读全文
posted @ 2019-10-12 11:20 悟空``` 阅读(605) 评论(0) 推荐(0) 编辑