'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]])'

def as_matrix(self):

    from sympy import Matrix
    return Matrix(self._lines)
