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 _as_display(self, header=True, rows=20, prefer_pandas=None):
      return H2OTableDisplay(
          self._cell_values,
          caption=(
              (
                  self._table_header
                  if self._table_description is None
                  else "{}: {}".format(
                      self._table_header, self._table_description
                  )
              )
              if header
              else None
          ),
          columns_labels=self._col_header,
          rows=rows,
          prefer_pandas=prefer_pandas,
          numalign="left",
          stralign="left",
      )
  
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 10 for calling the H2OTwoDimTable obj's underlying member method code with example usage: obj._as_display(header, rows, prefer_pandas) and returns: H2OTableDisplay