scipy.sparse.dok_matrix.

clear#

dok_matrix.clear() None.  Remove all items from D.[source]#