code: def transpose(self, *args, **kwargs):
          
          new_data = self.data.transpose(*args, **kwargs)
          # Switch the index and columns and transpose the
          new_manager = self.__constructor__(new_data, self.columns, self.index)
          # It is possible that this is already transposed
          new_manager._is_transposed = self._is_transposed ^ 1
          return new_manager
docs: Transposes this DataManager.
  
          Returns:
              Transposed new DataManager.