in python/datafusion/html_formatter.py [0:0]
def _build_html_header(self) -> list[str]:
"""Build the HTML header with CSS styles."""
html = []
html.append("<style>")
# Only include expandable CSS if cell expansion is enabled
if self.enable_cell_expansion:
html.append(self._get_default_css())
if self.custom_css:
html.append(self.custom_css)
html.append("</style>")
return html