pandas.io.formats.style.Styler.from_custom_template

pandas 3.1.1 · Styling · method

Build a Styler subclass using custom HTML templates.

Call syntax

Styler.from_custom_template(searchpath, html_table=None, html_style=None)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
searchpath Required
Positional or keyword
str or list
html_table Optional
Positional or keyword
Default None
str
html_style Optional
Positional or keyword
Default None
str

Returns

MyStyler · subclass of Styler