DataFrame.to_html()
pandas.DataFrame.to_html
-
DataFrame.to_html(buf=None, columns=None, col_space=None, colSpace=None, header=True, index=True, na_rep='NaN', formatters=None, float_format=None, sparsify=None, index_names=True, justify=None, bold_rows=True, classes=None, escape=True, max_rows=None, max_cols=None, show_dimensions=False, notebook=False, decimal='.')
-
Render a DataFrame as an HTML table.
to_html
-specific options:-
bold_rows : boolean, default True
- Make the row labels bold in the output
-
classes : str or list or tuple, default None
- CSS class(es) to apply to the resulting html table
-
escape : boolean, default True
- Convert the characters <, >, and & to HTML-safe sequences.=
-
max_rows : int, optional
- Max
-