scipy.sparse.dok_array.getrow#

dok_array.getrow(i)[source]#

Returns a copy of row i of the array/matrix, as a (1 x n) sparse array/matrix (row vector).

Deprecated since version 1.11.0: This method will be removed in SciPy 1.14.0. Use array/matrix indexing instead.