code: def clearParameters(self):
          
          self.beginRemoveRows(QtCore.QModelIndex(), 0, self.rowCount())
          self.model.clear_parameters()
          self.endRemoveRows()
docs: Removes all parameters from model