class_docstr: Widget for displaying hierarchical python data structures
  (eg, nested dicts, lists, and arrays)
docstr: data should be a dictionary.
code: def setData(self, data, hideRoot=False):
      """data should be a dictionary."""
      self.clear()
      self.widgets = []
      self.nodes = {}
      self.buildTree(data, self.invisibleRootItem(), hideRoot=hideRoot)
      self.expandToDepth(3)
      self.resizeColumnToContents(0)
  
file_path: pyqtgraph/pyqtgraph/widgets/DataTreeWidget.py
imports: import traceback
  import types
  from collections import OrderedDict
  import numpy
  from ..Qt import QtWidgets
  from .TableWidget import TableWidget
label_desc: Use image node_id 2 for calling the DataTreeWidget obj's underlying member method code with example usage: obj.setData(data, hideRoot) without return types