Skip to content

pandasx / ToHtmlOptions

Interface: ToHtmlOptions ​

Defined in: src/io/html.ts:181

Properties ​

PropertyTypeDescriptionDefined in
border?numberTable border attribute (default 1; 0 omits it).src/io/html.ts:185
cellAttrs?(row, col) => stringExtra attributes per cell (used by Styler).src/io/html.ts:202
classes?string | readonly string[]Extra CSS classes besides 'dataframe'.src/io/html.ts:187
escape?booleanEscape <, > and & (default true).src/io/html.ts:192
floatDecimals?numberFixed decimals for floats.src/io/html.ts:204
header?boolean-src/io/html.ts:183
index?boolean-src/io/html.ts:182
indexNames?booleanPrint the index names row (default true).src/io/html.ts:196
justify?"left" | "right" | "start" | "end" | "center" | "justify"text-align of the column headers (default 'right').src/io/html.ts:194
naRep?stringString for missing values (default 'NaN').src/io/html.ts:190
renderLinks?booleanTurn URLs into links.src/io/html.ts:200
sparsify?booleanMerge repeated MultiIndex labels with rowspan/colspan (default true).src/io/html.ts:198
tableId?string-src/io/html.ts:188

Released under the MIT License.