scipy.sparse.dok_matrix.

get#

dok_matrix.get(key, default=0.0)[source]#

這提供了具有類型檢查的 dict.get 方法功能