scipy.sparse.dok_matrix.

getrow#

dok_matrix.getrow(i)[source]#

返回矩陣第 i 列的副本,作為 (1 x n) 稀疏矩陣(行向量)。