<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process_data(self, text, colsep=u"\t", rowsep=u"\n",
 transpose=False, skiprows=0, comments='#'):

 """Put data into table model"""

        data = self._shape_text(text, colsep, rowsep, transpose, skiprows,
                                comments)
        self._model = PreviewTableModel(data)
        self.setModel(self._model)