scipy.sparse.dok_matrix.

clear#

dok_matrix.clear() None.  D 中移除所有項目。[source]#