D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D
scipy.sparse.dok_matrix.set_shape
scipy.sparse.dok_matrix.setdiag
Enter search terms or a module, class or function name.