'Return a :class:`pandas.DataFrame` instance
Returns
dataframe : :class:`pandas.DataFrame`
A pandas :class:`pandas.DataFrame` instance
Raises
ImportError
If pandas is not installed
ValueError
If the Table contains mixin or multi-dimensional columns'

def to_pandas(self):

    from pandas import DataFrame
    if self.has_mixin_columns:
        raise ValueError(u'Cannot    convert    a    table    with    mixin    columns    to    a    pandas    DataFrame')
    if any(((getattr(col, u'ndim', 1) > 1) for col in self.columns.values())):
        raise ValueError(u'Cannot    convert    a    table    with    multi-dimensional    columns    to    a    pandas    DataFrame')
    out = OrderedDict()
    for (name, column) in self.columns.items():
        if isinstance(column, MaskedColumn):
            if (column.dtype.kind in [u'i', u'u']):
                out[name] = column.astype(float).filled(np.nan)
            elif (column.dtype.kind in [u'f', u'c']):
                out[name] = column.filled(np.nan)
            else:
                out[name] = column.astype(np.object).filled(np.nan)
        else:
            out[name] = column
        if (out[name].dtype.byteorder not in (u'=', u'|')):
            out[name] = out[name].byteswap().newbyteorder()
    return DataFrame(out)
