版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/luoganttcc/article/details/89642467
将
return itertools.izip(coo_matrix.row, coo_matrix.col, coo_matrix.data)
改为
return zip(coo_matrix.row, coo_matrix.col, coo_matrix.data)
将
return itertools.izip(coo_matrix.row, coo_matrix.col, coo_matrix.data)
改为
return zip(coo_matrix.row, coo_matrix.col, coo_matrix.data)