Returns the main diagonal of the matrix
scipy.sparse.dok_matrix.copy
scipy.sparse.dok_matrix.dot
Enter search terms or a module, class or function name.