code: def __init__(self, val, index, format=None):
      QtWidgets.QTableWidgetItem.__init__(self, "")
      self._blockValueChange = False
      self._format = None
      self._defaultFormat = "%0.3g"
      self.sortMode = "value"
      self.index = index
      flags = (
          QtCore.Qt.ItemFlag.ItemIsSelectable
          | QtCore.Qt.ItemFlag.ItemIsEnabled
      )
      self.setFlags(flags)
      self.setValue(val)
      self.setFormat(format)
  
imports: import numpy
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 1 to create a new TableWidgetItem object from inherited base classes: QtWidgets with example: obj = TableWidgetItem(val, index, format)