SciPy v0.18.1 Reference Guide
Sparse matrices (
scipy.sparse
)
scipy.sparse.dok_matrix
index
modules
modules
next
previous
Previous topic
scipy.sparse.dok_matrix.pop
Next topic
scipy.sparse.dok_matrix.power
scipy.sparse.dok_matrix.popitem
¶
dok_matrix.
popitem
(
)
→ (k, v), remove and return some (key, value) pair as a
¶
2-tuple; but raise KeyError if D is empty.