scipy.sparse
scipy.sparse.dok_matrix.fromkeys
scipy.sparse.dok_matrix.getH
dok_matrix.
get
This overrides the dict.get method, providing type checking but otherwise equivalent functionality.