scipy.sparse.dok_matrix. items# dok_matrix.items() â a set-like object providing a view on D's items[source]#