scipy.sparse
scipy.sparse.dok_matrix.pop
scipy.sparse.dok_matrix.power
dok_matrix.
popitem
2-tuple; but raise KeyError if D is empty.