class_docstr: A class representing an 2D table (for pretty printing output).
class_docstr_tok: ["A","class","representing","an","2D","table","(","for","pretty","printing","output",")","."]
code: def __setitem__(self, key, value):
      # This is not tested, and probably not used anywhere... That's why it's so horrible.
      cols = list(zip(*self._cell_values))
      if len(cols[0]) != len(value):
          raise ValueError("value must be same length as columns")
      if key not in self._col_header:
          self._col_header.append(key)
          cols.append(tuple(value))
      else:
          cols[self._col_header.index(key)] = value
      self._cell_values = [list(x) for x in zip(*cols)]
  
imports: from h2o.utils.compatibility import *
  import copy
  from h2o.display import H2ODisplay, H2OTableDisplay, repr_def
  from h2o.exceptions import H2OValueError
  from h2o.utils.shared_utils import can_use_pandas
  from h2o.utils.typechecks import I, assert_is_type, is_type
label_desc: Use image node_id 9 for calling the H2OTwoDimTable obj's underlying member method code with example usage: obj.__setitem__(key, value) without return types