scipy.sparse.csr_matrix.

getrow#

csr_matrix.getrow(i)[原始碼]#

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