scipy.sparse.dok_matrix.

getcol#

dok_matrix.getcol(j)[source]#

返回矩陣的第 j 行的複製,作為 (m x 1) 稀疏矩陣(行向量)。