scipy.sparse.dok_array. popitem# dok_array.popitem()[原始碼]# 移除並返回 (鍵, 值) 組,以 2 元組形式呈現。 配對以 LIFO(後進先出)順序返回。如果字典為空,則引發 KeyError。