code: def test_show_mt_fewer_cols():
      shown_cols = 7
  
      mt = hl.utils.range_matrix_table(5, 5)
      mt = mt.key_cols_by(c=0)
      showobj = mt.show(n_cols=shown_cols, handler=lambda x: x)
  
      assert (
          len(showobj.table_show.table.row)
          == len(mt.row) + mt.count_cols()
      )
  
file_path: hail/hail/python/test/hail/expr/test_show.py
imports: import hail
  from ..helpers import test_timeout
label_desc: Use image node_id 9 for calling a global function with example usage: test_show_mt_fewer_cols() without return types