scipy.sparse.dok_matrix.clear

dok_matrix.clear()

D.clear() -> None. Remove all items from D.

This Page