scipy.sparse.dia_matrix. floor# dia_matrix.floor()[Quelle]# Elementweise Abrundung. Siehe numpy.floor für weitere Informationen.