pyladoc.latex.render_pandas_styler_table#
- pyladoc.latex.render_pandas_styler_table(df_style, caption='', label='', centering=True)#
Converts a pandas Styler object to LaTeX table.
- Parameters:
df_style (
None
) – The pandas Styler object to convert.caption (
str
) – The caption for the table.label (
str
) – Label for referencing the table.centering (
bool
) – Whether to center the table.
- Return type:
str
- Returns:
The LaTeX code.