Panel.to_latex(buf=None, columns=None, col_space=None, header=True, index=True, na_rep='NaN', formatters=None, float_format=None, sparsify=None, index_names=True, bold_rows=False, column_format=None, longtable=None, escape=None, encoding=None, decimal='.', multicolumn=None, multicolumn_format=None, multirow=None) [source]
Render an object to a tabular environment table. You can splice this into a LaTeX document. Requires \usepackage{booktabs}.
Changed in version 0.20.2: Added to Series
to_latex-specific options:
bold_rows : boolean, default False column_format : str, default None longtable : boolean, default will be read from the pandas config module escape : boolean, default will be read from the pandas config module encoding : str, default None decimal : string, default ‘.’ Character recognized as decimal separator, e.g. ‘,’ in Europe.
New in version 0.18.0.
multicolumn : boolean, default True Use multicolumn to enhance MultiIndex columns. The default will be read from the config module.
New in version 0.20.0.
multicolumn_format : str, default ‘l’ The alignment for multicolumns, similar to column_format The default will be read from the config module.
New in version 0.20.0.
multirow : boolean, default False Use multirow to enhance MultiIndex rows. Requires adding a \usepackage{multirow} to your LaTeX preamble. Will print centered labels (instead of top-aligned) across the contained rows, separating groups via clines. The default will be read from the pandas config module.
New in version 0.20.0.
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Panel.to_latex.html