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",")","."]
docstr: Convert to a python 'data frame'.
docstr_tok: ["Convert","to","a","python","'data","frame","'","."]
code: def as_data_frame(self):
      """Convert to a python 'data frame'."""
      if can_use_pandas():
          import pandas
  
          return pandas.DataFrame(
              self._cell_values, columns=self._col_header
          )
      return self
  
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 6 for calling the H2OTwoDimTable obj's underlying member method code with example usage: obj.as_data_frame() and returns: self, pandas