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