def transpose(self):
        return self._new_instance(self.matrix.transpose(), row2word=self.col2word, col2word=self.row2word)
Computes the transpose of a matrix.
dataset/ETHPy150Open jimmycallin/pydsm/pydsm/indexmatrix.py/IndexMatrix.transpose