class_docstr: Create a nice table representation of data.
  
  Examples
  ========
  
  >>> from sympy import TableForm
  >>> t = TableForm([[5, 7], [4, 2], [10, 3]])
  >>> print(t)
  5  7
  4  2
  10 3
  
  You can use the SymPy's printing system to produce tables in any
  format (ascii, latex, html, ...).
  
  >>> print(t.as_latex())
  \begin{tabular}{l l}
  $5$ & $7$ \\
  $4$ & $2$ \\
  $10$ & $3$ \\
  \end{tabular}
docstr: Returns the data of the table in Matrix form.
  
  Examples
  ========
  
  >>> from sympy import TableForm
  >>> t = TableForm([[5, 7], [4, 2], [10, 3]], headings='automatic')
  >>> t
    | 1  2
  --------
  1 | 5  7
  2 | 4  2
  3 | 10 3
  >>> t.as_matrix()
  Matrix([
  [ 5, 7],
  [ 4, 2],
  [10, 3]])
docstr_tok: ["Returns","the","data","of","the","table","in","Matrix","form",".","Examples","========",">",">",">","from","sympy","import","TableForm",">",">",">","t","=","TableForm","(","[","[","5",",","7","]",",","[","4",",","2","]",",","[","10",",","3","]","]",",","headings='automatic","'",")",">",">",">","t","|","1","2","--","--","--","--","1","|","5","7","2","|","4","2","3","|","10","3",">",">",">","t.as_matrix","(",")","Matrix","(","[","[","5",",","7","]",",","[","4",",","2","]",",","[","10",",","3","]","]",")"]
code: def as_matrix(self):
      """Returns the data of the table in Matrix form.
  
      Examples
      ========
  
      >>> from sympy import TableForm
      >>> t = TableForm([[5, 7], [4, 2], [10, 3]], headings='automatic')
      >>> t
        | 1  2
      --------
      1 | 5  7
      2 | 4  2
      3 | 10 3
      >>> t.as_matrix()
      Matrix([
      [ 5, 7],
      [ 4, 2],
      [10, 3]])
      """
      from sympy.matrices.dense import Matrix
  
      return Matrix(self._lines)
  
file_path: sympy/sympy/printing/tableform.py
imports: from sympy.core.containers import Tuple
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import SympifyError
  from types import FunctionType
label_desc: Use image node_id 4 for calling the TableForm obj's underlying member method code with example usage: obj.as_matrix() and returns: Matrix