scipy.sparse.dia_matrix. mT# property dia_matrix.mT# Matrix transpose. See also scipy.sparse.matrix_transposeequivalent function