Skip to content

frame_table

HTML tables of Polars frames (samples, duplicates, correlation tables).

Produces the same markup as pandas.DataFrame.to_html (a dataframe table with a header row and an index column), which the report's stylesheet targets.

Functions:

frame_to_html(df, classes='', index=None, float_format=None, empty_message=None)

Render a frame as an HTML table.

Args: df: the frame. classes: CSS classes added to the table. index: labels of the rows (default: 0, 1, ...). float_format: formats float cells. empty_message: a row shown when the frame has no rows.