code: def test_colm004_can_hide(test):
      test.start_server(get_app())
  
      target = test.table("table")
  
      assert target.column(0).get_text(2) == "rows"
      target.column("rows").hide(2)
  
      assert target.column(0).get_text(2) == "Toronto"
      target.column("ccc").hide(2)  # Toronto
  
      assert target.column(0).get_text(2) == "Montréal"
      target.column("ddd").hide(2)  # Montreal
  
      assert target.column(0).get_text(2) == "New York City"
  
      toggle = target.toggle_columns()
  
      toggle.open()
      assert toggle.is_opened()
  
      hidden = toggle.get_hidden()
      assert len(hidden) == 3
  
      for el in hidden:
          el.click()
  
      toggle.close()
  
      assert target.column(0).get_text(2) == "rows"
      assert target.column(1).get_text(2) == "Toronto"
      assert target.column(2).get_text(2) == "Montréal"
  
file_path: dash/components/dash-table/tests/selenium/test_column.py
imports: import dash
  from utils import get_props
  from dash.dash_table import DataTable
label_desc: Use image node_id 5 for calling a global function with example usage: test_colm004_can_hide(test) without return types