code: def process_data(self, text, colsep=u"\t", rowsep=u"\n",
                       transpose=False, skiprows=0, comments='#'):
          
          data = self._shape_text(text, colsep, rowsep, transpose, skiprows,
                                  comments)
          self._model = PreviewTableModel(data)
          self.setModel(self._model)
docs: Put data into table model