Profile.write_html

write_html

write_html(path: str | Path) -> Path

Write a standalone, print-friendly HTML profile.

Parameters:
  • path (str | Path) –

    Destination for the HTML document.

Returns:
  • Path –

    Path to the written report.

Example

p = ps.profile('cohort.parquet')
p.write_html('cohort.html')

← Profiling API