code: def clear_layout(layout):
      for i in reversed(range(layout.count())):
          layout.itemAt(i).widget().setParent(None)
  
file_path: PandasGUI/pandasgui/widgets/reshaper.py
imports: import sys
  from PyQt5.QtWidgets import QStyleOptionViewItem
  import pandasgui
  import os
  from PyQt5 import QtCore, QtGui, QtWidgets
  from PyQt5.QtCore import Qt
  from pandasgui.store import PandasGuiDataFrameStore
  from pandasgui.widgets.collapsible_panel import CollapsiblePanel
  from pandasgui.widgets.func_ui import FuncUi, Schema
  import logging
  from pandasgui.widgets.grapher import TypePicker
  from pandasgui import jotly
label_desc: Use image node_id 1 for calling a global function with example usage: clear_layout(layout) without return types