scipy.sparse.dok_matrix.set_shape
scipy.sparse.dok_matrix.setdiag
Enter search terms or a module, class or function name.