scipy.sparse.dia_matrix. rint# dia_matrix.rint()[Quelle]# Elementweise Rundung zur nächsten ganzen Zahl. Siehe numpy.rint für weitere Informationen.