code: def format(self):
      if callable(self._format):
          return self._format(self)
      if isinstance(self.value, (float, np.floating)):
          if self._format is None:
              return self._defaultFormat % self.value
          else:
              return self._format % self.value
      else:
          return str(self.value)
  
imports: import numpy
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 9 for calling the TableWidgetItem obj's underlying member method code with example usage: obj.format() and returns: self, str, unknown, unknown