scipy.sparse.dok_array.pop#

dok_array.pop(key, default=<unrepresentable>, /)#

If key is not found, default is returned if given, otherwise KeyError is raised