class_docstr: Extends QTableWidget with some useful functions for automatic data handling
  and copy / export context menu. Can automatically format and display a variety
  of data types (see :func:`setData() <pyqtgraph.TableWidget.setData>` for more
  information.
code: def setRow(self, row, vals):
      if row > self.rowCount() - 1:
          self.setRowCount(row + 1)
      for col in range(len(vals)):
          val = vals[col]
          item = self.itemClass(val, row)
          item.setEditable(self.editable)
          sortMode = self.sortModes.get(col, None)
          if sortMode is not None:
              item.setSortMode(sortMode)
          format = self._formats.get(col, self._formats[None])
          item.setFormat(format)
          self.items.append(item)
          self.setItem(row, col, item)
          item.setValue(val)
  
imports: import numpy
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 13 for calling the TableWidget obj's underlying member method code with example usage: obj.setRow(row, vals) without return types