scipy.sparse.dia_matrix.rint
scipy.sparse.dia_matrix.setdiag
Enter search terms or a module, class or function name.