scipy.sparse.dok_matrix.itervalues

dok_matrix.itervalues() → an iterator over the values of D