scipy.sparse.dia_matrix. scipy.sparse.dia_matrix.format# property dia_matrix.format# Format string for matrix.