scipy.sparse.dia_matrix. trunc# dia_matrix.trunc()[source]# Element-wise trunc. See numpy.trunc for more information.