scipy.sparse.dia_matrix.

copy#

dia_matrix.copy()[source]#

返回此数组/矩阵的副本。

返回值和当前数组/矩阵之间不会共享数据/索引。